Documentation ¶
Index ¶
- func DumpFrame(dumpFile io.Writer, toTime time.Duration) error
- func Init() error
- func InitDumping()
- func Rate() int
- func SampleRate() int
- func Update()
- type FadeHandle
- type Player
- func (p *Player) CheckGC() dontgc.State
- func (p *Player) Close() error
- func (p *Player) CloseInstantly() error
- func (p *Player) FadeOutIn(d time.Duration) *FadeHandle
- func (p *Player) IsPlaying() bool
- func (p *Player) Pause()
- func (p *Player) Play()
- func (p *Player) Position() time.Duration
- func (p *Player) SetVolume(vol float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDumping ¶
func InitDumping()
func SampleRate ¶
func SampleRate() int
Types ¶
type FadeHandle ¶
type FadeHandle struct {
// contains filtered or unexported fields
}
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
func NewPlayerFromBytes ¶
func (*Player) CloseInstantly ¶
Click to show internal directories.
Click to hide internal directories.