MediaCodec.DequeueOutputBuffer(MediaCodec+BufferInfo, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dequeue an output buffer, block at most "timeoutUs" microseconds.
[Android.Runtime.Register("dequeueOutputBuffer", "(Landroid/media/MediaCodec$BufferInfo;J)I", "")]
public int DequeueOutputBuffer (Android.Media.MediaCodec.BufferInfo info, long timeoutUs);
[<Android.Runtime.Register("dequeueOutputBuffer", "(Landroid/media/MediaCodec$BufferInfo;J)I", "")>]
member this.DequeueOutputBuffer : Android.Media.MediaCodec.BufferInfo * int64 -> int
Parameters
Will be filled with buffer meta data.
- timeoutUs
- Int64
The timeout in microseconds, a negative timeout indicates "infinite".
Returns
- Attributes
Exceptions
if not in the Executing state, or codec is configured in asynchronous mode.
upon codec error.
Remarks
Java documentation for android.media.MediaCodec.dequeueOutputBuffer(android.media.BufferInfo, long)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.