How to convert the audio data to CMSampleBufferRef?
I will to recoding audio to a video file by using AVAssetWriterInput, and the audio data is store in memory with byte array format.how开发者_StackOverflow中文版 can I do it? I frind the CMAudioSampleBufferCreateWithPacketDescriptions function meet my request, any one has the sample to use it,by using byte array audio data?
精彩评论