#include <revolution.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 121.5-MHz DSP, the maximum number of available cycles per 3-millisecond audio frame is 607,500. |
None.
AXSetMaxDspCycles() 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
03/01/2006 Initial version.