INT reserve_channels ( <INT num_channels> )
This functions reserves the indicated number of sound channels from the default sound mixing setup. This is usefull if you want to create groups of sound channels, so that you can devide them for different tasks. When you indicate a 0, all reservations are removed. The channels are reserved starting from channel 0 to num_channels -1. Normally SDL_mixer starts without any channels reserved.
|INT num_channels||- The number of channels to reserve.|
INT : Status.
|>0||- The number of reserved channels.|
|-1||- Error: sound inactive.|