#include <revolution/ax.h> void AXInitEx(u32 outputBufferMode);
| outputBufferMode |
|
|---|
None.
If TRUE is specified for the outputBufferMode argument, a triple-buffer structure is used for the output buffer. If FALSE is specified, a double-buffer structure is used for the output buffer. When triple-buffer is selected, it can prevent pop noises caused by a heavy DSP load. If a double-buffer structure is used, delays in sound output will be shorter than those seen with a triple buffer structure. With a triple-buffer structure, sound latency is increased by 3 milliseconds relative to a double-buffer structure.
To initialize AX, this function or the AXInit function must be called. If the AXInit function is called, the double-buffer structure will be used.
Note: This function calls the AIRegisterDMACallback function internally. Because of this, any AI DMA interrupt callback set using the AIRegisterDMACallback function before this function was called will be overwritten by the AX callback. If you are using an original AI DMA interrupt callback, be sure to set it using AIRegisterDMACallback only after calling this function.
2008/12/26 Added a note about the AI DMA interrupt callback.
2006/10/24 Revised latency.
2006/03/01 Initial version.
CONFIDENTIAL