Return to previous page | Return to menu | Go to next page


Bool
Sound function

slSndMixParmChange

Change mixer parameters

Format

Bool slSndMixParmChange(Effect , Level , Pan)
Uint8 Effect ;
Uint8 Level ;
Sint8 Pan ;

Parameter

Effect DSP effect output channel
Level Effect return level
Pan Effect pan

Function

Change the mixer parameters.

Return value

If the command buffer is full, the function returns FALSE.

Remarks

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


Return to previous page | Return to menu | Go to next page