AXGetDeviceMode

Syntax

#include <cafe/ax.h>

AXPB_ERROR_CODE AXGetDeviceMode(AXPBDeviceType device, u32 *mode);

Parameters

device Output device.
mode AX_MODE_MONO
AX_MODE_STEREO
AX_MODE_SURROUND
AX_MODE_6CHAN

Return Values

AXPB_ERROR_NONE if successful, an error of type AXPB_ERROR_CODE otherwise.

Description

Retrieves the current audio mode for the specified output device.

The output mode can be selected via System Config Tool. For more information, see Changing Device Mode.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

Cafe Audio System Overview
Rendering Model
AX Data Structures and Definitions

Revision History

2013/05/08 Automated cleanup pass.
2013/01/23 Updates for System Config Tool
2012/08/01 Cleanup Pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL