Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamer ¶
type Streamer struct {
// contains filtered or unexported fields
}
Streamer is an implementation of the beep.StreamCloser interface to provide access to the microphone through the malgo library.
func OpenStream ¶
func OpenStream(ctx *malgo.AllocatedContext, deviceConfig malgo.DeviceConfig) (s *Streamer, format beep.Format, err error)
OpenStream opens a stream for the deviceConfig
func (*Streamer) Err ¶
Err returns an error that occurred during streaming. If no error occurred, nil is returned.
Click to show internal directories.
Click to hide internal directories.