Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Panel ¶
type Panel struct { Volume *effects.Volume SoundDir SoundDirectory // contains filtered or unexported fields }
Panel holds all Player structs like mixer, ctrl and Volume
func NewPanel ¶
func NewPanel(speakerSampleRate int, dir SoundDirectory) *Panel
NewPanel returns a pointer to a Panel struct
func (*Panel) ChangeVolume ¶
ChangeVolume changes the Volume of the mixer
type SoundDirectory ¶
SoundDirectory collects all SoundFiles from a specific path
func GetFilesInFolder ¶
func GetFilesInFolder(folderPath string) (SoundDirectory, error)
GetFilesInFolder returns a new SoundDorectory in a specified path
Click to show internal directories.
Click to hide internal directories.