AXSetCompressor

Syntax

#include <revolution/ax.h>

void AXSetCompressor(u32 mode);

Arguments

mode
AX_COMPRESSOR_OFF No output compression will be applied.
AX_COMPRESSOR_ON Interactive compression will be applied. If the threshold value of 0 dB is exceeded, a -4dB attenuation is applied to the output signal. This attenuation is in a 4 dB range, with an attack time of five milliseconds and a release time of 50 milliseconds. This is the default mode of AX.

Return Values

None.

Description

The AXSetCompressor function turns the AX compressor ON or OFF.

Note: If the compressor is turned on, distortion may become noticeable depending on the sound. The AX library turns the compressor on by default, but if there is pronounced distortion, turn off the compressor as appropriate.

See Also

None.

Revision History

2006/03/01 Initial version.
2007/06/26 Added a note about distortion.


CONFIDENTIAL