• 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: Subscription problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Subscription problem (From: Juan Pertierra <email@hidden>)
 >Re: Subscription problem (From: Steven Winston <email@hidden>)

  • Prev by Date: Re: Subscription problem
  • Next by Date: MP3 Hardware Decoding on iPad (was Subscription problem)
  • Previous by thread: Re: Subscription problem
  • Next by thread: AU: interpreting kAudioUnitProperty_SupportedNumChannels & _BusCount in modular hosts?
  • Index(es):
    • Date
    • Thread