Documentation ¶
Overview ¶
Package portaudio allows to play audio with Portaudio API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device is the device accessed through portaudio.
func DefaultInputDevice ¶
DefaultInputDevice returns input device used by system as default at the moment.
func DefaultOutputDevice ¶
DefaultOutputDevice returns output device used by system as default at the moment.
type Sink ¶
type Sink struct { Device // contains filtered or unexported fields }
Sink represets portaudio sink which allows to play audio. If no device is provided, the current system default will be used.
func (*Sink) Flush ¶
Flush terminates portaudio structures. It's executed only if Reset didn't return error.
Click to show internal directories.
Click to hide internal directories.