• 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: Bank or single preset in AU SaveState?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bank or single preset in AU SaveState?


  • Subject: Re: Bank or single preset in AU SaveState?
  • From: William Stewart <email@hidden>
  • Date: Fri, 14 Aug 2009 14:39:19 -0700

I think its actually a limitation in Logic/GB rather than CF

The idea is that presets are relatively small and contain just enough data to return the AU to the state it was in when a document (or preset) was saved. As these presets get written into a Logic or GB session document, there is a limit on the size of data that Logic will allow

We have written examples for how your AU can reference external data files (like sample banks), so that if you are "archiving a document" in Logic, it can grab all of the file dependencies your AU has - see the audio unit file references key

On Aug 14, 2009, at 7:49 AM, contact wrote:

----- Original Message ----- From: William Stewart
To: contact
Cc: CoreAudio API
Sent: Wednesday, August 12, 2009 10:47 PM
Subject: Re: Bank or single preset in AU SaveState?

On Aug 12, 2009, at 5:38 AM, contact wrote:
Hello, I've trying to fix an 'Out of Memory' bug when using my Audio Unit plug-in with GarageBand. It happens on the SaveState >>function.
I've been routinely saving whole banks in this function, but one of my plug-ins now amounts to about 2.5Mb of data.
Is this is too much and what's the limit for GarageBand as other hosts have no problems?
Do you normally just save the current preset, or the whole preset bank (as in the whole state)?
I'm saving banks so users can change preset in the same instance to another they've made - is it usual to just save a single preset with >>SaveState?

SaveState is normally used for a single preset, not banks
Bill

O.K. thanks for the confirmation. I guess there's a limit to the size of each key when using the CFMutableDictionary, rather than a limit to the Dictionary itself.
I suppose it's a bug in the Core Foundation, but I don't know why it's giving the unhelpfull error in GarageBand only (It doesn't matter how much memory there is, it still says 'Out Of Memory').





_______________________________________________ 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: 
 >Bank or single preset in AU SaveState? (From: "contact" <email@hidden>)
 >Re: Bank or single preset in AU SaveState? (From: William Stewart <email@hidden>)
 >Re: Bank or single preset in AU SaveState? (From: "contact" <email@hidden>)

  • Prev by Date: Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
  • Next by Date: Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
  • Previous by thread: Re: Bank or single preset in AU SaveState?
  • Next by thread: AU View with Trolltech/Nokias Qt?
  • Index(es):
    • Date
    • Thread