• 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: "contact" <email@hidden>
  • Date: Fri, 14 Aug 2009 15:49:54 +0100

----- 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


  • Follow-Ups:
    • Re: Bank or single preset in AU SaveState?
      • From: William Stewart <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>)

  • Prev by Date: Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
  • Next by Date: RE: Les Paul, you will be missed!
  • Previous by thread: Re: Bank or single preset in AU SaveState?
  • Next by thread: Re: Bank or single preset in AU SaveState?
  • Index(es):
    • Date
    • Thread