Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrQueryRateExceeded = fmt.Errorf("Query Rate Exceeded (%v qps)", defaultQps)
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { gopi.Unit gopi.Logger sync.Mutex *http.Client *url.URL // contains filtered or unexported fields }
type Meta ¶
type Meta uint
const ( META_NONE Meta = 0 META_RECORDING Meta = (1 << iota) META_RECORDINGID META_RELEASE META_RELEASEID META_RELEASEGROUP META_RELEASEGROUPID META_TRACK META_COMPRESS META_USERMETA META_SOURCE META_MIN = META_RECORDING META_MAX = META_SOURCE META_ALL = META_RECORDING | META_RECORDINGID | META_RELEASE | META_RELEASEID | META_RELEASEGROUP | META_RELEASEGROUPID | META_TRACK | META_COMPRESS | META_USERMETA | META_SOURCE )
func (Meta) FlagString ¶
type Stream ¶
type Stream interface { // Write signed data into the stream, assuming little endian order Write(data []int16) error // GetFingerprint calculates the fingerprint from the streamed data GetFingerprint() (string, error) // Properties // Duration returns the current duration of the streamed data Duration() time.Duration // Channels returns the number of audio channels the stream represents Channels() int // Rate returns the samples per second (aka Sample rate) Rate() int }
Click to show internal directories.
Click to hide internal directories.