Contents

CMBlockBufferAssureBlockMemory(_:)

Assures that the system allocates memory for all memory blocks in a block buffer.

Declaration

func CMBlockBufferAssureBlockMemory(_ theBuffer: CMBlockBuffer) -> OSStatus

Parameters

  • theBuffer:

    CMBlockBuffer to operate on. Must not be NULL.

Return Value

Returns kCMBlockBufferNoErr if successful.

Discussion

Traverses the possibly complex CMBlockBuffer, allocating the memory for any constituent memory blocks that are not yet allocated.

See Also

Modifying a Block Buffer