MIXSetDeviceSoundMode

Syntax

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

void MIXSetDeviceSoundMode(AXPBDeviceType device, u32 mode);

Parameters

device The output device to be configured.
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. 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 Sets the mixer to multi-channel surround mode.

Return Values

None.

Description

Sets the mixing mode for the specified output device. Note that mode must correspond to the rendering mode of AX. The mixing mode applies for all instances of the given device.

For information on specifying an output device, see the AX Data Structures and Definitions Overview.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AX Data Structures and Definitions Overview
MIXGetDeviceSoundMode

Revision History

2013/05/08 Automated cleanup pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL