Re: AVAudioPlayer Question....
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