Sound Function - Global Sound Control Function

sdSndSetFxOutPrm

Changes the output of FX Output

FORMAT

SDE_ERR sdSndSetFxOutPrm( out_num, out_pan, out_lev )
Sint8 out_num
Sint8 out_pan
Sint8 out_lev

PARAMETER

 out_num  Target DSP output number 
 out_pan  Panpot value to set 
 out_lev  Volume Level 

RETURN

 SDE_ERR_NO_INIT   The Sound Library has not been initialized 
 SDE_ERR_HOST_CMD_BUF_NO_ENOUGH  No more Host Commands can be accepted 
 SDE_ERR_PRM_OVER_RANGE  Parameter out of range 

DESCRIPTION

Changes the output parameter of the FX Output number.

Specify the panpot value in 8-bit 2's complement. Specify the value range between -7FH (maximum left) ~ J00H (normal) ~ 7FH(maximum right) in 8-bit 2's complement.

Output volume level to set: specify in 8-bit 2's complement in the range -7FH (minimum) ~ 00H (normal) ~ 7FH (maximum)


sdSndSetFxOutPrm
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999