Sound Function - Sound Module Control Function

sdShotSetDrctLev

Sets the direct level of a One-Shot port

FORMAT

SDE_ERR sdShotSetDrctLev( handle, drct_lev )
SDSHOT handle
Sint8 drct_lev

PARAMETER

 handle  Object handle 
 drct_lev  Direct level to set 

RETURN

 SDE_ERR_NO_INIT  The Sound Library has not been initialized 
 SDE_ERR_HANDLE_NULL  The handle is NULL 
 SDE_ERR_HOST_CMD_BUF_NO_ENOUGH  No more host commands can be accepted 

DESCRIPTION

Sets the direct (without sound effects) level of a One-Shot port.

The range of drct_lev, which specifies the direct level, is -007FH (min) to 0000H (mid) to 007FH (max).


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