Documentation ¶
Index ¶
Constants ¶
View Source
const BufferSize = 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel [BufferSize]float64
type Ears ¶
type Ears struct {
// contains filtered or unexported fields
}
func New ¶
func New(onGotDevice func(sampleRate SampleRate)) *Ears
type Heard ¶
type Heard struct { SampleRate SampleRate Mono Channel }
type SampleRate ¶
type SampleRate uint32
Click to show internal directories.
Click to hide internal directories.