Converting an AudioBufferList to a CMSampleBuffer Produces Unexpected Results
问题 I'm trying to convert an AudioBufferList that I get from an Audio Unit into a CMSampleBuffer that I can pass into an AVAssetWriter to save audio from the microphone. This conversion works, in that the calls I'm making to perform the transformation don't fail, but recording ultimately does fail, and I'm seeing some output in the logs that seems to be cause for concern. The code I'm using looks like this: - (void)handleAudioSamples:(AudioBufferList*)samples numSamples:(UInt32)numSamples