• 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: Howard Moon <email@hidden>
  • Date: Tue, 30 Dec 2008 11:11:15 -0800


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.



Hi Markus,

well, I'm doubtful my plug-in would be instantiated 20 times, but I see your point. What I'm wondering though is if there's any limit on a single plug-in's state size (other than the available memory and the 32-bit address size limit). I wouldn't think so, given that the memory is managed by the plug-in, but I was warned by someone on a VST mailing list to watch out for limits in Logic and GarageBand, so I'm checking here to be sure.

Thanks,
	-Howard



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

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