carb::audio::ContextCallback

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.

Parameters
  • context[in] the context object that triggered the callback.

  • event[in] the event that occurred on the context.

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

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

Returns

no return value.