Skip to content

Sound #2

@eaburns

Description

@eaburns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions