-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
We need the ability to play wav, ogg, and flac files. One possible interface is:
func PlayWAV(path string, repeat bool) Sound
func PlayOGG(path string, repeat bool) Sound
func PlayFLAC(path string, repeat bool) Sound
// A sound that was played/is playing.
type Sound struct { ...unexported fields... }
func (Sound) IsPlaying() bool
func (Sound) StopPlaying() // remove from the mix