available


Description:

public uint available ()

Query how much bytes can be read from each queued buffer.

This means that the result of this call is the maximum number of bytes that can be read from each of the pads.

This function should be called with this STREAM_LOCK held, such as in the callback.

MT safe.

Parameters:

this

the collectpads to query

Returns:

The maximum number of bytes queued on all pads. This function returns 0 if a pad has no queued buffer.