AXDeregisterAppFrameCallback

Syntax

#include <cafe/ax.h>

AXPB_ERROR_CODE AXDeregisterAppFrameCallback(AXUserCallback fcb);

Parameters

fcb Callback function to be deregistered.

Return Values

AXPB_ERROR_NONE if successful;
AXPB_ERROR_FRAMECB_TRY_AGAIN if some other processing is currently registering frame callback
AXPB_ERROR_FRAMECB_NULL_FUNC if the application sent a NULL pointer as input
AXPB_ERROR_FRAMECB_NOT_FOUND if the function asked to be deregistered is not found within AX's list

Description

Deregisters an application callback function that was previously registered with AX. Since different applications can use AX simultaneously, AX maintains a list of frame callbacks registered with it, and calls each one of them every frame. This allows individual apps to register/deregister AX frame callback.

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

Revision History

2013/05/08 Automated cleanup pass.
2012/01/26 Update to Audio API v2.0.
2011/02/21 Initial Version


CONFIDENTIAL