Get()

Updated: April 19, 2023

Get a buffer of media data immediately

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXBufferQueueSinkItf_ {
    XAQNXBuffer* (*Get)(XAQNXBufferQueueSinkItf self);
} ;

Arguments:

self
A reference to the sink interface

Library:

mmfilter

Description:

This function attempts to get a buffer of media data. The function is non-blocking and returns a reference to the next available buffer (if any) that hasn't been processed.

Returns:

A pointer to an XAQNXBuffer containing media data sent to the sink. If no data items are currently available (e.g., if playback or recording is stopped), NULL is returned.