Return to previous page | Return to menu | Go to next page
Sint8
Sound function
Return free PCM channel number
Sint8 slSndPCMNum(Mode)
Uint8 Mode ;
Mode PCM playback mode
Returns an available PCM channel number.
In case of normal termination, the function returns 0-7.
If the PCM channel is full, the function returns -1.
Parameter "Mode" includes "_Stereo" or "_Mono" and "_16Bit" or
Specify logical OR with "_8Bit".
PCM can play up to 8 tones, but for stereo playback, 2 tones
It may be necessary to have 8 sounds even if only 4
Please be careful.
slSndPCMNum