Re: What is the cheapest way to play an AAC or mp3 on iphone
Re: What is the cheapest way to play an AAC or mp3 on iphone
- Subject: Re: What is the cheapest way to play an AAC or mp3 on iphone
- From: Doug Wyatt <email@hidden>
- Date: Thu, 1 Oct 2009 08:20:44 -0700
On Sep 30, 2009, at 22:25 , Tom Schulz wrote:
I am finalling my iphone game, and pretty much my last bug is the
fact that when music plays, it noticeably affects framerate. I have
tried to use AVAudioPlayer, I used AudioQueue code from an example,
and both of them make the 3d animations twitchy.
What's the cheapest / fastest combination of API and format on the
iphone, so I can avoid this performance problems and finally ship
this thing?
It sounds like you may be getting a software codec instead of the
hardware codec. AAC via AVAudioPlayer should perform well without
interfering with graphics if you have the hardware codec.
What AudioSession category are you using? For a game with background
music, you probably should be using
kAudioSessionCategory_SoloAmbientSound.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden