Share via


CMBufferQueue Class

Definition

CoreMedia Buffer Queue.

public class CMBufferQueue : CoreFoundation.NativeObject
type CMBufferQueue = class
    inherit NativeObject
Inheritance

Remarks

The CoreMedia queue exposes a thread-safe API to queue and dequeue buffers. When you construct the CMBufferQueue, you can specific custom functions to sort the buffers by time, or you can use the convenience function CreateUnsorted to create a queue that behaves like a FIFO.

Properties

Name Description
BufferCount
ContainsEndOfData
Duration
Handle (Inherited from DisposableObject)
IsAtEndOfData
IsEmpty
Owns (Inherited from DisposableObject)

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
CreateUnsorted(Int32)
Dequeue()
DequeueIfDataReady()
Dispose() (Inherited from DisposableObject)
Dispose(Boolean)

Releases the resources used by the CMBufferQueue object.

Enqueue(INativeObject)
Equals(Object) (Inherited from DisposableObject)
FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString, CMBufferGetSize)
FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString)

Creates a custom CMBufferQueue that sorts and returns the objects in the queue based on the various callbacks you provide.

GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
GetTotalSize()
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
MarkEndOfData()
Release() (Inherited from NativeObject)
Reset()
Retain() (Inherited from NativeObject)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to