• 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: AVAudioPlayer Question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AVAudioPlayer Question....


  • Subject: Re: AVAudioPlayer Question....
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 16 Mar 2009 08:33:14 -0700


On Mar 15, 2009, at 9:06 PM, Scott Tury wrote:

I've added support for using the AVAudioPlayer class to my iPhone application, but I'm noticing issues with getting it to play multiple sounds simultaneously. I can play the first file, but I can't play any other files while the first file is playing.

I have heard that the iPhone uses a hardware audio decoder, and can only decode one stream of compressed audio at a time. I don't remember where I heard this (probably some grubby kid on the street) and I was hoping it didn't mean there was no way to overlay multiple tracks of compressed audio, but your experience does seem to corroborate it.


If so, this is kind of lame. If the hardware is busy, couldn't CA decode other compressed files in software? I know the iPhone doesn't have the horsepower of a modern Mac, but if a first-gen iMac G3 was capable of MP3 decoding in software, then the iPhone should have no trouble with it.

—Jens

_______________________________________________
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: AVAudioPlayer Question....
      • From: Kyle Sluder <email@hidden>
References: 
 >AVAudioPlayer Question.... (From: Scott Tury <email@hidden>)

  • Prev by Date: Re: Renaming a file
  • Next by Date: Re: Strange behavior in audio Session Interruption Listener
  • Previous by thread: AVAudioPlayer Question....
  • Next by thread: Re: AVAudioPlayer Question....
  • Index(es):
    • Date
    • Thread