Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NewFromFile = newFromFile
)
Functions ¶
This section is empty.
Types ¶
type AudioFileType ¶
type AudioFileType int
const ( OggVorbisFile AudioFileType = iota WavFile Mp3File FlacFile UnknownAudioFile AudioFileType = math.MaxInt )
func KnownAudioFileTypes ¶
func KnownAudioFileTypes() []AudioFileType
func (AudioFileType) Extension ¶
func (t AudioFileType) Extension() string
func (AudioFileType) Name ¶
func (t AudioFileType) Name() string
type Sound ¶
type Sound interface { Play() error Type() AudioFileType Location() string }
Click to show internal directories.
Click to hide internal directories.