• 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: unloading plugin bundles - is it a bad idea?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unloading plugin bundles - is it a bad idea?


  • Subject: Re: unloading plugin bundles - is it a bad idea?
  • From: Ross Bencina <email@hidden>
  • Date: Sun, 04 Nov 2012 12:00:49 +1100

Hi Paul,

On 4/11/2012 11:29 AM, Paul Davis wrote:
i can tell you that we never explicit use CFBundle{Anything}. we use the
apple utility library, and our destructor for an AudioUnit basically
involves calling CAAudioUnit:::Uninitialize() which actually calls
AudioUnitUninitialize(). there are no calls to CFBundle{Anything} in the
(antiquated) apple utility lib that we use.


You're quite right. This is a VST plugin. I don't use the Apple classes for AU, but my AU code uses Component Manager APIs (OpenComponent() etc) not CFBundle APIs -- so the explicit bundle unloading is only happening in my VST code. Sorry for the confusion.

A quick check indicates that unloading an Audio Unit plugin with CloseComponent() doesn't appear to unload the plugin's bundle.

Another data point:

"Cocoa applications cannot unload bundles."
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingCode/Concepts/MultiBundleApps.html


Thanks,

Ross.
_______________________________________________
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: 
 >unloading plugin bundles - is it a bad idea? (From: Ross Bencina <email@hidden>)
 >Re: unloading plugin bundles - is it a bad idea? (From: Verizon <email@hidden>)
 >Re: unloading plugin bundles - is it a bad idea? (From: Ross Bencina <email@hidden>)
 >Re: unloading plugin bundles - is it a bad idea? (From: Paul Davis <email@hidden>)
 >Re: unloading plugin bundles - is it a bad idea? (From: Ross Bencina <email@hidden>)
 >Re: unloading plugin bundles - is it a bad idea? (From: Paul Davis <email@hidden>)

  • Prev by Date: Re: unloading plugin bundles - is it a bad idea?
  • Next by Date: Re: AUInstrument seen in auval but not Logic
  • Previous by thread: Re: unloading plugin bundles - is it a bad idea?
  • Next by thread: Re: unloading plugin bundles - is it a bad idea?
  • Index(es):
    • Date
    • Thread