MIXSetSoundMode

Syntax

#include <revolution.h>
#include <revolution/mix.h>

#define MIX_SOUND_MODE_MONO         OS_SOUND_MODE_MONO
#define MIX_SOUND_MODE_STEREO       OS_SOUND_MODE_STEREO
#define MIX_SOUND_MODE_SURROUND     2
#define MIX_SOUND_MODE_DPL2         3

void MIXSetSoundMode(u32 mode);

Arguments

mode
MIX_SOUND_MODE_MONO Sets the mixer to mono mode. Ignores left and right pan attenuation. Sounds panned to the surround bus are attenuated by -3 dB.
MIX_SOUND_MODE_STEREO Sets the mixer to stereo/surround mode. Pan is applied to the left and right and the surround bus. Sounds panned to the surround bus are attenuated by -3 dB.
MIX_SOUND_MODE_SURROUND Same as MIX_SOUND_MODE_STEREO.
MIX_SOUND_MODE_DPL2 Sets the mixer to Dolby Pro Logic II Mode. Each channel of AuxC is used for mixing the Main, AuxA and AuxB surround channels. AuxC is not supported in this mode.

Return Values

None.

Description

MIXSetSoundMode is used to set the mixer to the user desired mode. These modes should be set in conjunction with the mode set for AX.

See Also

MIXGetSoundMode

Revision History

2006/03/01 Initial version.


CONFIDENTIAL