• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is the cheapest way to play an AAC or mp3 on iphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: What is the cheapest way to play an AAC or mp3 on iphone
      • From: Steven Winston <email@hidden>
  • Prev by Date: Re: How to delay AudioQueue playing
  • Next by Date: Re: AU, Obj-C and names
  • Previous by thread: RE: AU, Obj-C and names
  • Next by thread: Re: What is the cheapest way to play an AAC or mp3 on iphone
  • Index(es):
    • Date
    • Thread