Sound Function - Sound Module Control Function

sdMidiSetDrctLev

Sets the direct level of a MIDI port

FORMAT

SDE_ERR sdMidiSetDrctLev( handle, drct_lev )
SDMIDI handle
Sint8 drct_lev

PARAMETER

 handle  Object port 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_PRM_OVER_RANGE  Parameter out of range Parameter out of range 
 SDE_ERR_HOST_CMD_BUF_NO_ENOUGH  No more host commands can be accepted 

DESCRIPTION

Sets the direct (without sound effects) level of a MIDI port. The value range "drct_lev," which marks direct levels, is -007FH (min) to 0000H (mid) to 007FH (max).

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