#include <revolution.h> typedef void(*AXUserCallback)(void); AXUserCallback AXRegisterCallback(AXUserCallback callback);
callback |
Callback to be registered. |
Pointer to the previous callback function.
AXRegisterCallback() registers a user-application callback that is invoked for each audio frame. An audio frame is three milliseconds in length. This function will replace the previously registered callback, if any. The user callback is invoked with interrupts disabled. Your application is responsible for enabling and restoring interrupts for non-critical sections, to ensure that other interrupt-driven services are handled promptly.
2006/03/01 Initial version.
2006/08/03 Revised the audio frame length.
CONFIDENTIAL