1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 6<title>AXSetCompressor</title> 7<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 8<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 9<META http-equiv="Content-Style-Type" content="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">AXSetCompressor</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20void AXSetCompressor(u32 mode); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24 25<TABLE class="arguments" border="1" > 26 <tr> 27<th>mode</th> 28 <td> 29 <TABLE class="arguments" border="1" > 30 <tr> 31<th>AX_COMPRESSOR_OFF</th> 32<td>No output compression will be applied.</td> 33 </tr> 34 <tr> 35<th>AX_COMPRESSOR_ON</th> 36<td>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 3 milliseconds and a release time of 30 milliseconds. This is the default mode of AX.</td> 37 </tr> 38 </table> 39 </td> 40 </tr> 41</table> 42 43<h2>Return Values</h2> 44<p>None.</p> 45 46<h2>Description</h2> 47<p>The <CODE>AXSetCompressor</CODE> function turns the AX compressor <STRONG>ON</STRONG> or <STRONG>OFF</STRONG>.</p> 48 49<p><STRONG>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.</STRONG></p> 50 51<H2>See Also</H2> 52<p>None.</p> 53 54<H2>Revision History</H2> 55<P> 562009/11/19 Revised text about attack time and release time in the argument description.<br>2007/06/26 Added a note about distortion.<br>2006/03/01 Initial version.<BR> 57</P> 58 59<hr><p>CONFIDENTIAL</p></body> 60</html>