setValidationHandler(_:)
Sets validation handler for the queue to call before enqueuing buffers.
Declaration
func setValidationHandler(_ body: @escaping (CMBufferQueue, CMBuffer) throws -> Void)Sets validation handler for the queue to call before enqueuing buffers.
func setValidationHandler(_ body: @escaping (CMBufferQueue, CMBuffer) throws -> Void)