MIXGetSoundMode

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

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 Sets the mixer 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 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.

Description

The MIXGetSoundMode function returns the current mixer mode. 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