Re: Making a Looping App - direction?
Re: Making a Looping App - direction?
- Subject: Re: Making a Looping App - direction?
- From: Jack Nutting <email@hidden>
- Date: Thu, 25 Oct 2012 09:24:49 +0200
On Thu, Oct 25, 2012 at 1:42 AM, Aran Mulholland
<email@hidden> wrote:
Were all the samples you were playing using FilePlayers PCM or did you
have multiple mp3/compressed streams playing at once.
Not compressed really, unless you count ima4. I first normalized all loops at 1-channel, 32-bit 44kHz, then converted them to caf format with ima4 which reduces them to about a quarter of their normal size. With ima4, you can have a huge number of FilePlayer objects streaming at once. At one point I think I had 54 of them going at once, which worked fine on a multi-core device but caused the graphics to halt about once a second on an iPhone 4 (the sound, however, kept going just fine).
--
// Jack Nutting
//
email@hidden//
http://nuthole.com//
http://learncocoa.org
_______________________________________________
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