agileaholic :)

Java, groovy, grails, hacking and more…

Archive for the ‘iPhone’ Category

AVAudioRecorder – iPhone Audio Recording

Posted by Prabhu Beeman on September 23, 2009

I have been using the AVAudioRecorder class to record the audio. But it wasnt allowing me to play it back. I had to restart the application to play it. I had to toil hard with it for a few hours before I found the culprit.

Thanks to this link. The problem was in my AVAudioSession Category which was set to AVAudioSessionCategoryRecord while it should have been AVAudioSessionCategoryPlayAndRecord.

Posted in iPhone | Leave a Comment »