read_buffer
Description:
Get a subbuffer of size
bytes from the given pad data
.
This function should be called with this STREAM_LOCK held, such as in the callback.
MT safe.
Parameters:
this |
the collectpads to query |
data |
the data to use |
size |
the number of bytes to read |
Returns:
A sub buffer. The size of the buffer can be less that requested. A return of |