Copies PCM audio data from the given sample buffer into a pre-populated
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 6.0+Beta
- Core Media
The sample buffer containing the PCM audio data to be copied.
The frame offset number from which to begin the copy.
The total number of frames to copy.
The audio buffer list to populate.
Audio must contain the same number of channels and its data buffers must be sized to hold the specified number of frames.
This API is specific to audio format sample buffers, and will return
k if called with a non-audio sample buffer. It will return an error if the sample buffer does not contain PCM audio data or if its data buffer is not ready.