iOS code that makes it simple to process the audio sample data when playing video via AV Foundation