AXRegisterFrameCallback

Syntax

#include <cafe/ax.h>

typedef void    (*AXUserCallback)   (void);

AXUserCallback AXRegisterFrameCallback(AXUserCallback fcb);

Parameters

fcb Callback function to be invoked.

Return Values

The function pointer to the user callback previously registered, if any; NULL otherwise.

Description

Registers an application callback function that AX will invoke once each audio frame.

The callback is invoked from the AX application I/O thread, which has a higher priority than application threads. All standard thread synchronization methods apply. For more information, see Basic Thread Scheduling.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

Cafe Core OS (COS) Overview
AX Data Structures and Definitions
AXRegisterAuxCallback
AXGetAuxCallback

Revision History

2015/06/01 Fixed links to Basic Thread topic.
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL