AXGetAuxCallback

Syntax

#include <cafe/ax.h>

typedef void    (*AXUserAuxCallback)    (s32 **data, void *context, AXAUXCBSTRUCT *info);
    
AXPB_ERROR_CODE AXGetAuxCallback(AXPBDeviceType device, u32 Id,
				 u32 auxId, AXUserAuxCallback *fcb, void **context);

Parameters

device Output device.
Id Device instance.
auxId Aux bus.
fcb Pointer by which the address of the callback function will be returned.
context Pointer by which the context pointer will be returned.

Return Values

AXPB_ERROR_NONE if successful, an error of type AXPB_ERROR otherwise.

Description

Retrieves the callback function (and its associated context pointer) registered to Aux bus auxId for the output device specified by device and Id.

If a callback function has not been registered, NULL will be returned in the fcb and context arguments.

Availability

Library Version Availability
Sound 2.0 Yes
Sound 1.0 Yes

Do Not Call From

None.

See Also

AX Data Structures and Definitions
AXRegisterAuxCallback

Revision History

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