• 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: Multiple View Instances - Logic 5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple View Instances - Logic 5.4


  • Subject: Re: Multiple View Instances - Logic 5.4
  • From: Art Gillespie <email@hidden>
  • Date: Sat, 19 Oct 2002 00:21:50 -0400

Heh, figured it out.

For the archives then:

Make sure to

a) Uninstall Event Loop Timers in your view's destructor
b) Dispose Event Loop Timer UPPs in your view's destructor
c) Remove any installed event handlers
d) Dispose any event handler UPPs

(If you're using SDK 1.0, this means you have to change AUCarbonViewBase::~AUCarbonViewBase to be virtual so that your destructor gets called)

A humble request for a future SDK release: modify the AU3DMixerView code to have a destructor that properly cleans up installed Window event handlers, etc.

Best,

Art
>>0xBA

On Saturday, October 19, 2002, at 12:01 AM, Art Gillespie wrote:

I'm having problems with my custom GUIs in Logic 5.4... everything is rosy as long as there's only one instance of an AudioUnit instantiated, but as soon as I instantiate a second one, the graphics go completely wonky in the editor... Primarily, I no longer seem to be able to discern from the title bar and logic's chrome and my own area... so the user can't drag the plug-ins window or use the button's in Logic's plug-in window area.

Has anyone else run into this? Does logic delete a plug-in's view before loading another? I've modified AUCarbonViewBase.h's destructor to be virtual (was there a reason it wasn't?) but it doesn't seem to help...

Oh, and do handlers installed with InstallWindowEventHandler() (ala the example code in AU3DMixer) need to be uninstalled explicitly?

Best,
Art
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • UPPs [Was: Re: Multiple View Instances - Logic 5.4]
      • From: Alberto Ricci <email@hidden>
References: 
 >Multiple View Instances - Logic 5.4 (From: Art Gillespie <email@hidden>)

  • Prev by Date: Multiple View Instances - Logic 5.4
  • Next by Date: using non-default output units
  • Previous by thread: Multiple View Instances - Logic 5.4
  • Next by thread: UPPs [Was: Re: Multiple View Instances - Logic 5.4]
  • Index(es):
    • Date
    • Thread