Documentation ¶
Overview ¶
Package mux offers APIs for a low-level multiplexer of audio players. Usually you don't have to use this.
Index ¶
- type Format
- type Mux
- type Player
- func (p *Player) BufferedSize() int
- func (p *Player) Close() error
- func (p *Player) Err() error
- func (p *Player) IsPlaying() bool
- func (p *Player) Pause()
- func (p *Player) Play()
- func (p *Player) Reset()
- func (p *Player) Seek(offset int64, whence int) (int64, error)
- func (p *Player) SetBufferSize(bufferSize int)
- func (p *Player) SetVolume(volume float64)
- func (p *Player) Volume() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mux ¶
type Mux struct {
// contains filtered or unexported fields
}
Mux is a low-level multiplexer of audio players.
func (*Mux) ReadFloat32s ¶
ReadFloat32s fills buf with the multiplexed data of the players as float32 values.
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
func (*Player) BufferedSize ¶
func (*Player) SetBufferSize ¶
Click to show internal directories.
Click to hide internal directories.