MIXGetSoundMode

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

u32 MIXGetSoundMode(void);

Arguments

None.

Return Values

u32 mode
MIX_SOUND_MODE_MONO Sets the mixer to mono mode. Ignores left and right pan attenuation.
MIX_SOUND_MODE_STEREO The mixer is set to stereo/surround mode. Pan is applied to the left and right and the surround bus.
MIX_SOUND_MODE_SURROUND Same as MIX_SOUND_MODE_STEREO.
MIX_SOUND_MODE_DPL2 The mixer is set 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.

Description

MIXGetSoundMode returns the current mode of the mixer. Applications that use the mixer should call this function at the appropriate time to determine if mode dependent settings should be applied.

See Also

MIXSetSoundMode

Revision History

2006/03/01 Initial version.


CONFIDENTIAL