MIXSetSoundMode

C Specification

#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 Aux C channel is used for mixing the Main, Aux A, and Aux B surround channels. AUX C is not supported in this mode.

Return Values

None.

Description

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

See Also

MIXGetSoundMode

Revision History

03/01/2006 Initial version.