Instance Property

alwaysCopiesSampleData

A Boolean value that indicates whether to vend data in buffers before copying.

Declaration

@property(nonatomic) BOOL alwaysCopiesSampleData;

Discussion

When the value of this property is YES, the output always vends a buffer with copied data—you can freely modify data in such buffers.

When the value of this property is NO, you can't copy the vended buffers—such buffers may still be referenced by other entities. The result of modifying a buffer whose data hasn't been copied is undefined.

Requesting buffers whose data hasn’t been copied when possible can lead to performance improvements.

The default value of this property is YES

See Also

Copying a Buffer

- copyNextSampleBuffer

Copies the next sample buffer for the output.