Register a callback for handling buffer queue events
Synopsis:
#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXBufferQueueSourceItf_ {
XAresult (*RegisterCallback)(XAQNXBufferQueueSourceItf self,
xaQNXBufferQueueSourceCallback callback,
void *pCallbackContext);
} ;
Arguments:
- self
- A reference to the source interface
- callback
- An xaQNXBufferQueueSourceCallback variable
specifying the event-handling callback
- pCallbackContext
- An optional pointer to extra data to be passed, unchanged, as
the pCallbackContext argument to the callback
function. Your application must manage any memory associated
with that data. You can specify NULL if you're
not using extra data.
Library:
mmfilter
Returns:
An XA_RESULT_* constant indicating the operation result