Documentation ¶
Overview ¶
Package null implements a dummy audio driver that doesn't play any audio.
Index ¶
- type Engine
- func (e *Engine) LoadMusic(filename string) (Playable, error)
- func (e *Engine) LoadMusicBin(data []byte) (Playable, error)
- func (e *Engine) LoadSound(filename string) (Playable, error)
- func (e *Engine) LoadSoundBin(data []byte) (Playable, error)
- func (e *Engine) Playing() bool
- func (e *Engine) PlayingMusic() bool
- func (e *Engine) PlayingSound() bool
- func (e *Engine) Setup() error
- func (e *Engine) StopAll()
- func (e *Engine) StopMusic()
- func (e *Engine) StopSounds()
- func (e *Engine) Teardown() error
- type Playable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct{}
Engine is a null audio engine.
func (*Engine) LoadMusicBin ¶
LoadMusicBin loads nothing.
func (*Engine) LoadSoundBin ¶
LoadSoundBin loads nothing.
Click to show internal directories.
Click to hide internal directories.