CMBufferQueueGetTotalSize(_:)
Gets the total size of all sample buffers of a buffer queue.
Declaration
func CMBufferQueueGetTotalSize(_ queue: CMBufferQueue) -> IntDiscussion
The total size of the CMBufferQueue is the sum of all the individual buffer sizes, as reported by the getTotalSize callback (provided to CMBufferQueueCreate(allocator:capacity:callbacks:queueOut:)).
This function returns 0 if there are no buffers in the queue.