Other Function - Configuration Function

syCfgGetSoundMode

Gets the sound setting (stereo/monaural)

FORMAT

Sint32 syCfgSetSoundMode( *pnMode )
Sint32 *pnMode

PARAMETER

 *pnMode  Return status pointer 
   SYD_CFG_STEREO:Stereo setting 
   SYD_CFG_MONO:Monaural setting 

RETURN

 SYD_CFG_OK  Normal end 
 SYD_CFG_NG  Abnormal end 

DESCRIPTION

Gets the sound setting (stereo/monaural).

EXAMPLE

Sint32 mode;
syCfgGetSoundMode( &mode );
if ( mode == SYD_CFG_STEREO ) {
	sdSndSetSpace( SDE_SPACE_STEREO );
} else {
	sdSndSetSpace( SDE_SPACE_MONO );
}

NOTE

"Abnormal end" results if an invalid parameter was specified, or if the sound setting has not been initialized.

REFERENCE

syCfgInit()

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