iDevGames Forums
performance bug in AVAudioPlayer - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: performance bug in AVAudioPlayer (/thread-7944.html)



performance bug in AVAudioPlayer - captainfreedom - Aug 4, 2010 08:11 AM

I switched from using Audio Queue services to play mp3s to using AVAudioPlayer and I noticed a drastic drop in the frame rate. Anyone else notice this problem? This happens on 1st gen iPod touch


RE: performance bug in AVAudioPlayer - AnotherJake - Aug 4, 2010 09:53 AM

That shouldn't be a problem. Did you make sure to set your session category to kAudioSessionCategory_SoloAmbientSound? (note the "Solo" in there)


RE: performance bug in AVAudioPlayer - captainfreedom - Aug 4, 2010 12:03 PM

Ok, I'll try that. thanks