#include <revolution/ax.h> #define AX_DSP_CYCLES_PBSYNC 2000 #define AX_DSP_CYCLES (OS_BUS_CLOCK / 400) - AX_DSP_CYCLES_PBSYNC void AXSetMaxDspCycles(u32 cycles);
| cycles | Maximum DSP cycles for audio processing per frame. For a 100MHz DSP, the maximum number of available cycles per 5-millisecond audio frame is 500,000. |
|---|
None.
The AXSetMaxDspCycles function specifies the maximum number of DSP cycles that AX may use per frame. The maximum value and default setting is AX_DSP_CYCLES.
For every audio frame, AX calculates the estimated number of DSP cycles needed to process the active voices. The number of cycles needed by a voice depends on the properties (or "complexity") of that voice.
AXGetMaxDspCycles, AXGetDspCycles
2006/03/01 Initial version.
CONFIDENTIAL