Edit

Share via


CMBufferQueue Class

Definition

CoreMedia Buffer Queue.

public class CMBufferQueue : IDisposable, ObjCRuntime.INativeObject
type CMBufferQueue = class
    interface INativeObject
    interface IDisposable
Inheritance
CMBufferQueue
Implements

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

BufferCount
ContainsEndOfData
Duration
Handle

Handle (pointer) to the unmanaged object representation.

IsAtEndOfData
IsEmpty

Methods

CreateUnsorted(Int32)
Dequeue()
DequeueIfDataReady()
Dispose()

Releases the resources used by the CMBufferQueue object.

Dispose(Boolean)

Releases the resources used by the CMBufferQueue object.

Enqueue(INativeObject)
Finalize()

Finalizer for the CMBufferQueue object

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.

GetTotalSize()
MarkEndOfData()
Reset()

Applies to