title: How do I get samples out of a CMSampleBufferRef for pitch shift?
body: <p>I am trying to get the samples out of a CMSampleBufferRef and into an array of floats in order to change the pitch. I have found a method CMSampleBufferCallForEachSample in the documentation but don't know how to use it and there are no examples or explanations. Please I have been running around in circles with this thing for a while, can anyone help?</p>