Re: Subscription problem
Re: Subscription problem
- Subject: Re: Subscription problem
- From: "Paul Sanders" <email@hidden>
- Date: Tue, 18 May 2010 15:53:38 +0100
> It's admittedly a little weird to write a 6 minute
MP3 to PCM directly in memory. That's a lot of memory.
Yes, about 60MB by my calculation. If you need to
directly address your decoded audio, you might consider using a memory-mapped
file (i.e. decode to a file and then map that file into memory). That
way the OS can manage the memory for you, based on your pattern of access and
other demands on the system. I believe the iPad supports
this.
If you're generating some kind of waveform display from
the raw PCM data, there are more efficient ways at low zoom levels.
Paul Sanders.
_______________________________________________
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