Re: Chunk size limits in AudioUnits?
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