Extract floats with Extended Audio File Services (ExtAudioFileRead)
I'm trying to write a program to log the float values of samples in an audio file. My steps are as follows: 

 1. Open an Extended Audio File
 2. Set up audio format (AudioStreamBasicDescription)
 3. Apply audio format to my Extended Audio File
 4. Set up an AudioBufferList
 5. Read Extended Audio File into AudioBufferList with ExtAudioFileRead()
 6. Log float values of AudioBufferList 

I've put the entire 90 line class in this gist: https://gist.github.com/792630

The trouble is, if I apply an audio format to my Extended Audio File (Step 3), I get an error trying to read the file (Step 5). If I comment out step 5, the file reads fine but I will not have enforced my format for the read and I don't get floats when logging. 

Any suggestions would be greatly appreciated. Thanks!
Extract floats with Extended Audio File Services (ExtAudioFileRead)
===

I'm trying to write a program to log the float values of samples in an audio file. My steps are as follows: 

 1. Open an Extended Audio File
 2. Set up audio format (AudioStreamBasicDescription)
 3. Apply audio format to my Extended Audio File
 4. Set up an AudioBufferList
 5. Read Extended Audio File into AudioBufferList with ExtAudioFileRead()
 6. Log float values of AudioBufferList 

I've put the entire 90 line class in this gist: https://gist.github.com/792630

The trouble is, if I apply an audio format to my Extended Audio File (Step 3), I get an error trying to read the file (Step 5). If I comment out step 5, the file reads fine but I will not have enforced my format for the read and I don't get floats when logging. 

Any suggestions would be greatly appreciated. Thanks!