Documentation
¶
Overview ¶
ALSA output driver.
Index ¶
- type Alsa
- func (a *Alsa) AvailUpdate() (size int, err error)
- func (a *Alsa) Close() error
- func (a *Alsa) Flush() error
- func (a *Alsa) Open() error
- func (a *Alsa) Pause() error
- func (a *Alsa) Paused() bool
- func (a *Alsa) SetChannels(channels int) error
- func (a *Alsa) SetSampleRate(rate int) error
- func (a *Alsa) SetVolume(vol int) error
- func (a *Alsa) Volume() (int, error)
- func (a *Alsa) Wait(maxDelay int) (ok bool, err error)
- func (a *Alsa) Write(buf []byte) (written int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alsa ¶
type Alsa struct {
// contains filtered or unexported fields
}
Alsa aoutput driter handler structure.
func (*Alsa) AvailUpdate ¶
func (*Alsa) SetChannels ¶
func (*Alsa) SetSampleRate ¶
Click to show internal directories.
Click to hide internal directories.