AXSetDRCVSDownmixBalance

Syntax

#include <cafe/ax.h>

typedef enum
{
    AX_DRC_VS_OUTPUT_SPEAKER = 0,
    AX_DRC_VS_OUTPUT_HEADPHONE,
    AX_DRC_VS_OUTPUT_NUM
} AXDRCVSOutputMode;

AXPB_ERROR_CODE AXSetDRCVSDownmixBalance(AXDRCVSOutputMode output, f32 balance);

Parameters

output AX_DRC_VS_OUTPUT_SPEAKER → Speaker output setting
AX_DRC_VS_OUTPUT_HEADPHONE → Headphone output setting
balance The ratio of the down-mixing component to the VS component
Set between 0.0f ~ 1.0f.
Both speakers/headphones are set to 1.0f by default.

Return Values

AXPB_ERROR_NONE if successful, an error of type AXPB_ERROR_CODE otherwise.

Description

Set the volume ratio of the down-mixing component to the VS component. The VS component itself is set by AXSetDRCVSOutputGain; the product of the value set by AXSetDRCVSOutputGain and the value set by this function indicates the down-mixing component volume.

For more information, see DRC VS Overview.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AXSetDRCVSOutputGain
DRC VS Overview

Revision History

2013/05/08 Automated cleanup pass.
2012/06/04 Initial Version for SDK 2.06


CONFIDENTIAL