CMSample data ready, by calling the client's
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
- Core Media
The sample buffer being modified.
A result code. See Result Codes
CMSample is passed in by the client during creation. It must return 0 if successful, and in that case,
CMSample will set the data readiness of the
CMSample to true. If the sample buffer is not ready, and there is no
CMSample to call,
k will be returned. Similarly, if the
CMSample is not ready, and the
CMSample fails and returns an error, CMSampleBuffer will be returned.