CollectPads.pop

Pop 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 was queued. You should unref the buffer after usage.