56 int play(
int loops,
int volume,
int channel = -1);
A generic reference counted resource object.
Defines a class for loading and storing sound effects.
int play(int loops, int volume, int channel=-1)
Plays the sample.
static SoundEffect * load(SDL_RWops *rw)
Loads a sample from a buffer in memory.
SoundEffect(Mix_Chunk *soundEffect)