Defined in carb/audio/IAudioPlayback.h

typedef void (*carb::audio::ContextCallback)(Context *context, ContextCallbackEvent event, void *data, void *userData)

prototype for a context callback event function.

Param context

[in] the context object that triggered the callback.

Param event

[in] the event that occurred on the context.

Param data

[in] provides some additional information for the event that occurred. The value and content of this object depends on the event that occurred.

Param userData

[in] the user data value that was registered with the callback when the context object was created.


no return value.