• 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: Chunk size limits in AudioUnits?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chunk size limits in AudioUnits?


  • Subject: Re: Chunk size limits in AudioUnits?
  • From: Markus Fritze <email@hidden>
  • Date: Tue, 30 Dec 2008 10:55:55 -0800

On Dec 30, 2008, at 10:42 AM, Howard Moon wrote:

I'm looking at storing a rather large amount of state data (maybe 50Meg or more) in an effect plug-in. From what I can tell, the only limit seems to be the size specified when creating the data storage, which is limited by the size of a long, which means 2Gb. Naturally, I'd run into physical limitations on most users' machines long before trying to allocate 2Gb, but what about 50 or 60Meg? Would this cause a problem (esp. in Logic or GarageBand)?

If your plugin can be instantiated e.g. 20 times (not uncommon for effects), then yes: 50MB will be an issue, because 20 * 50 is 1GB and AU hosts will crash _hard_ when reaching the 32 bit memory limit. This problem already exists with certain samplers which allocate a lot of memory and when running out of address space will crash the host.



Markus _______________________________________________ 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: Chunk size limits in AudioUnits?
      • From: Howard Moon <email@hidden>
References: 
 >Chunk size limits in AudioUnits? (From: Howard Moon <email@hidden>)

  • Prev by Date: Chunk size limits in AudioUnits?
  • Next by Date: Re: Chunk size limits in AudioUnits?
  • Previous by thread: Chunk size limits in AudioUnits?
  • Next by thread: Re: Chunk size limits in AudioUnits?
  • Index(es):
    • Date
    • Thread