CollectPads.peek

Peek at the buffer currently queued in data. This function should be called with the pads STREAM_LOCK held, such as in the callback handler.

MT safe.

Parameters

datathe data to use

Returns

The buffer in data or null if no

buffer is queued. should unref the buffer after usage.