AXSetCompressor

C Specification

#include <revolution.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

AXSetCompressor() 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

Revision History

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


CONFIDENTIAL