#include <revolution/ax.h> void AXSetCompressorTable(u16* table, u16 frames);
| table | Pointer to the compressor table. |
|---|---|
| frames | The release time. This is measured in audio frames (3 ms) and has a value between 0 and 30,000 (inclusive). |
None.
This function registers a compressor table (created by the AXMakeCompressorTable function) with the AX library. While the AX library is running, it gets table data directly from the address specified by table. For this reason, the address specified by table 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).
The AX library will use the default compressor table if NULL is specified for table.
A release time is specified when creating a table with the AXMakeCompressorTable function; the same value is specified for frames. If NULL is specified for table, the value in frames will be ignored and can be specified as any number.
2008/02/26 Initial version.
CONFIDENTIAL