Return to previous page | Return to menu | Go to next page
Bool
Sound function
Change mixer parameters
Bool slSndMixParmChange(Effect , Level , Pan)
Uint8 Effect ;
Uint8 Level ;
Sint8 Pan ;
Effect DSP effect output channel Level Effect return level Pan Effect pan
Change the mixer parameters.
If the command buffer is full, the function returns FALSE.
Specify a range from 0 to 17 for the parameter "Effect".
Specify a range from 0 to 127 for the parameter "Level".
(Ignoring lower 4 bits)
Specify a range from -127 to 127 for the parameter "Pan".
(Ignore lower 3 bits)
Reference: Chapter 14 Sound Library
slSndMixParmChange