Re: Wrapping VSTGUI for Dummies
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.