• 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: Wrapping VSTGUI for Dummies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrapping VSTGUI for Dummies


  • Subject: Re: Wrapping VSTGUI for Dummies
  • From: Jim Wintermyre <email@hidden>
  • Date: Mon, 1 Mar 2004 01:43:53 -0800

I have a couple of AU's that crash in VST->AU wrapper's
IdleProc(EventLoopTimerRef tTimer, void *pUser) after the component has
been closed. Is it possible that CVST2AUView::~CVST2AUView(void) is not
being called? Where does this deconstructor get called? Does anyone
have any idea what would cause this?

I had a similar problem... I'm not using the same code but it might be similar in your case. It looks like some hosts close the plugin's window without actually destroying the AU view. For example, this happens in DP when you switch screensets. In our case our idle proc was calling something in the AU view if it existed, and that routine then called some routines that assumed the window still existed which caused a crash. I had to listen for the kEventWindowClosed carbon event, and set a flag in that case indicating that it's unsafe to call the AU view's idle routine.

Jim
_______________________________________________
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:
    • Re: Wrapping VSTGUI for Dummies
      • From: Jeremy Sagan <email@hidden>
  • Prev by Date: Re: Passthru AudioUnit that saves its input to file?
  • Next by Date: Re: Raw Midi Time Code
  • Previous by thread: Re: Passthru AudioUnit that saves its input to file?
  • Next by thread: Re: Wrapping VSTGUI for Dummies
  • Index(es):
    • Date
    • Thread