AXRegisterCallback

Syntax

#include <revolution/ax.h>

typedef void(*AXUserCallback)(void);

AXUserCallback AXRegisterCallback(AXUserCallback callback);

Arguments

callback Callback to be registered.

Return Values

Pointer to the previous callback function.

Description

The AXRegisterCallback function 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.

See Also

None.

Revision History

2006/08/03 Revised the audio frame length.
2006/03/01 Initial version.


CONFIDENTIAL