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=windows-1252">
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
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><code>#include &lt;revolution.h&gt;
20
21void AXSetCompressor(u32 mode);</CODE></pre>
22</BLOCKQUOTE>
23<h2>Arguments</h2>
24
25<table border="1" cellpadding="3" cellspacing="0.1">
26  <tr>
27<td width="120" bgcolor="#ffffe8"><code><em><strong>mode</strong></em></code></td>
28    <td width="520">
29      <table border="1" cellspacing="0.1" width="500">
30        <tr>
31<TD width="150"><code>AX_COMPRESSOR_OFF &nbsp; </code></TD>
32<td width="350">No output compression will be applied.</td>
33        </tr>
34        <tr>
35<td width="150"><code>AX_COMPRESSOR_ON&nbsp;&nbsp; </code></td>
36<td width="350">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.</td>
37        </tr>
38      </table>
39    </td>
40  </tr>
41</table>
42
43<h2>Return Values</h2>
44
45<p>None.</p>
46
47<h2>Description</h2>
48
49<p><code>AXSetCompressor()</code> turns the AX compressor ON or OFF.</p>
50
51<p><strong>Note:</strong> 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.</p>
52
53<H2>See Also</H2>
54
55<H2>Revision History</H2>
56
57<P>
582007/06/26 Added a note about distortion.<br>2006/03/01 Initial version.
59</P>
60
61<hr>
62<P>CONFIDENTIAL</p>
63</BODY>
64</HTML>