I'm loading in a .caf file with AVAudioPlayer, and I'd like to get at a pointer to the audio samples. Is there any way to go about doing this? I know AVAudioPlayer has an NSData property which I assume is the bytes read in from the .caf file. Could I just strip the .caf header? I don't think the samples are stored as LPCM in .caf files, so I feel like I'd have to convert.
Is there an easier method than using AVAudioPlayer to load up a .caf file and have access to the samples?