Loads a sound file
A destructor is present on this object, but not explicitly documented in the source.
Deallocates the memory and invalidates this.
Plays this sound in the selected channel with a fade in effect.
Plays this sound in the selected channel.
Returns the latest sound related error
Handle to the Mix_Chunk*.
Tells you how many channels are paused if set to -1
Tells you how many channels are playing if set to -1
Checks if the handle is not null.
Creates sound from a Mix_Chunk*.
Returns the current volume as float in range 0.0 to 1.0
Pause the sound playback. You may halt paused sounds.
Unpause the sound. This is safe to use on halted, paused, and already playing sounds.
Sets the current volume as float in range 0.0 to 1.0
Halt playback of sound. This interrupts sound fader effects.
Thin wrap around Mix_Chunk including loading [FLAC, MikMod, Ogg Vorbis, MP3, Wav] using SDL_Mixer.