AXSetDRCVSSpeakerPosition

Syntax

#include <cafe/ax.h>

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

typedef enum 
{
    AX_DRC_VS_SPEAKER_POS_WIDE = 0,
    AX_DRC_VS_SPEAKER_POS_SQUARE,
    AX_DRC_VS_SPEAKER_POS_NUM
} AXDRCVSSpeakerPosition;

AXPB_ERROR_CODE AXSetDRCVSSpeakerPosition(AXDRCVSOutputMode output,
                                          AXDRCVSSpeakerPosition pos);

Parameters

output AX_DRC_VS_OUTPUT_SPEAKER → Speaker output setting
AX_DRC_VS_OUTPUT_HEADPHONE → Headphone output setting
pos AX_DRC_VS_SPEAKER_POS_WIDE → Position virtual speakers 60 degrees in the front and 110 degrees in the rear.
AX_DRC_VS_SPEAKER_POS_SQUARE → Position virtual speakers 45 degrees in the front and 135 degrees in the rear.
Both speaker output and headphone output are set to AX_DRC_VS_SPEAKER_POS_SQUARE by default.

Return Values

AXPB_ERROR_NONE if successful, an error of type AXPB_ERROR_CODE otherwise.

Description

Position virtual speakers for VS processing. The position can be specified for each output mode (speaker output or headphone output) separately.

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

DRC VS Overview

Revision History

2013/05/08 Automated cleanup pass.
2012/06/27 Added the default value
2012/06/04 Initial Version for SDK 2.06


CONFIDENTIAL