Reserve the first channels (0 -> n-1) for the application, i.e.
int Mix_ReserveChannels(int num);
num |
number of channels |
Returns the number of reserved channels.
don't allocate them dynamically to the next sample if requested with a -1 value below.
This function is available since SDL_mixer 2.0.0.