AXSetDRCVSSurroundLevelGain

Syntax

#include <cafe/ax.h>

typedef enum
{
    AX_DRC_VS_SLEV_1_0 = 0,
    AX_DRC_VS_SLEV_0_707,
    AX_DRC_VS_SLEV_0_5,
    AX_DRC_VS_SLEV_NUM
} AXDRCVSSurroundLevelGain;

AXPB_ERROR_CODE AXSetDRCVSSurroundLevelGain(AXDRCVSSurroundLevelGain gain);

Parameters

gain
  • AX_DRC_VS_SLEV_1_0 sets the surround channel gain to 1.0.
  • AX_DRC_VS_SLEV_0_707 sets the surround channel gain to 0.707 (Default).
  • AX_DRC_VS_SLEV_0_5 sets the surround channel gain to 0.5.

Return Values

AXPB_ERROR_NONE if successful, an error of type AXPB_ERROR_CODE otherwise.

Description

DRC VS processing is comprised of 2 components: "VS" and "Down-Mixing". For down-mixing components, audio obtained by down-mixing the front channels and surround channels (Rear L and Rear R) is used.

This API specifies the surround channel level at the time of down-mixing.

1.0 / 0.707 / 0.5 are based on Dolby and AAC standards.

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

2015/02/27 Added table to 'gain' param.
2013/05/08 Automated cleanup pass.
2012/06/27 Added the default value.
2012/06/04 Initial version for SDK 2.06.


CONFIDENTIAL