Documentation
¶
Overview ¶
Provides a way to play sound effects
Index ¶
Constants ¶
View Source
const ( SELECT_SINGLE int = iota SELECT_RANDOM SELECT_SEQUENCE )
Variables ¶
View Source
var ErrSoundNotFound = errors.New("sound could not be found")
Functions ¶
This section is empty.
Types ¶
type Sound ¶
type Sound interface { Play() Loop() Unloop() GetName() string GetBufferCount() int // contains filtered or unexported methods }
Sound is a playable sound effect
Click to show internal directories.
Click to hide internal directories.