Sound Function - Sound Module Control Function

sdPstmSetBaseVol

Sets the base volume of a PCM Stream port

FORMAT

SDE_ERR sdPstmSetBaseVol( handle, base_vol )
SDPSTM handle
Sint8 base_vol

PARAMETER

 handle  Object handle 
 base_vol  Base volume 

RETURN

 SDE_ERR_NO_INIT  The Sound Library has not been initialized 
 SDE_ERR_HANDLE_NULL  The handle is NULL 

DESCRIPTION

Sets the base volume of channel's PCM Stream port. The range of "base_vol," which specifies the base volume, is 000H (minimum volume) to 007FH (maximum volume).

NOTE

Actual output volume of a port results from combining this function setting and the relative volume setting of sdPstmSetVol. Therefore, if this functions sets the volume to 007FH, the volume cannot be further increased by specifying a higher level with sdPstmSetVol().

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