Is there any comprehensive documentation/tutorial for this function (for iOS core audio) CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer? Couldn’t find anything on the web, and the examples on stack over flow leave much to be desired.
Is there any comprehensive documentation/tutorial for this function (for iOS core audio) CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer ?
Share
after months of working with CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer, i’ve learned that while it’s hard to find a post or link specifically about the said function, it’s also easy to find a ton of resources about the general topic of audio in iOS, chief amongst them is the book Learning Core Audio..
it takes time for the dense concepts of iOS core audio to sink in and it takes a lot of practice.. once things sink in.. the above method will become an easy tool in a much bigger tool box.. and all its parameters and uses will make intuitive sense
also a quick way to find out about the parameters and what the function does above exactly.. simply go to the documentation provided in the header file (ie in XCode, highlight the method and right click-> Jump to Definition).. you’ll see this in CMSampleBuffer.h (but again if you’re new to core audio.. don’t get frustrated if you look at all these parameters and understand only 10% of it.. it happened to all of us and it takes time):