Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAudioPipeline ¶
func NewAudioPipeline(audioCache *AudioCache)
Types ¶
type AudioCache ¶
type AudioCache interface { LoadPlayer(file string) GetPlayer(file string) AudioPlayer }
func NewAudioCache ¶
func NewAudioCache() AudioCache
type AudioPlayer ¶
type AudioPlayer interface { PlayOnce() PlayLooped() Stop() Pause() Unload() Load(fileName string) AudioPlayer IsStopped() bool IsPlaying() bool }
func NewAudioPlayer ¶
func NewAudioPlayer() AudioPlayer
Click to show internal directories.
Click to hide internal directories.