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<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
7<META name="GENERATOR" content="Microsoft FrontPage 5.0">
8<META http-equiv="Content-Style-Type" content="text/css">
9<title>AXSetCompressorTable</title>
10</head>
11
12<body>
13
14<h1 align="left">AXSetCompressorTable</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/ax.h&gt;
19
20void AXSetCompressorTable(u16* table, u16 frames);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24
25<table class="arguments" border="1" >
26  <tr>
27<th>table</th>
28<td>Pointer to the compressor table.</td>
29  </tr>
30  <tr>
31<th>frames</th>
32<td>The release time. This is measured in audio frames (3 ms) and has a value between 0 and 30,000 (inclusive).</td>
33  </tr>
34</table>
35
36<h2>Return Values</h2>
37
38<p>None.</p>
39
40<h2>Description</h2>
41
42<p>This function registers a compressor table (created by the <code>AXMakeCompressorTable</code> function) with the AX library. While the AX library is running, it gets table data directly from the address specified by <SPAN class="argument">table</SPAN>. For this reason, the address specified by <SPAN class="argument">table</SPAN> must be 4-byte aligned. This function must be called when the compressor is not running (it is safe to call this function after the AX library is initialized but while no audio is being played).</p>
43
44<p>The AX library will use the default compressor table if <code>NULL</code> is specified for <SPAN class="argument">table</SPAN>.</p>
45
46<p>A release time is specified when creating a table with the <code>AXMakeCompressorTable</code> function; the same value is specified for <SPAN class="argument">frames</SPAN>. If <code>NULL</code> is specified for <SPAN class="argument">table</SPAN>, the value in <SPAN class="argument">frames</SPAN> will be ignored and can be specified as any number.</p>
47
48<H2>See Also</H2>
49
50<p class="reference">
51<a href="../Utility/AXMakeCompressorTable.html">AXMakeCompressorTable</a>
52</p>
53
54<H2>Revision History</H2>
55
56<p>
572008/02/26 Initial version.
58</p>
59
60<hr><p>CONFIDENTIAL</p></body>
61</html>
62