Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
- Subject: Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
- From: Marc Poirier <email@hidden>
- Date: Wed, 18 Jun 2003 09:53:10 -0500 (CDT)
I put a break in my Component entry and now see that Rax simply doesn't do
the kAudioUnitUninitializeSelect selector at all. So that's why you get
no Cleanup() or DoCleanup(). Rax should be doing the
kAudioUnitUninitializeSelect before kComponentCloseSelect if it has done
kAudioUnitInitializeSelect.
Marc
On Wed, 18 Jun 2003, Ben Dyer wrote:
>
Hi All,
>
>
I've found a strange problem with the AU I'm working on. I'm trying to
>
fix a crashing problem that seems
>
to affect many AU's based on Emagic's VSTAU with regard to disposing of
>
timers etc.
>
>
The thing is I've found in hosts that use AUGraph e.g. RAX and
>
SynthTest, - AUBase::Cleanup() is never getting called.
>
I would have thought that the process of events would be something like
>
:
>
>
AUGraphUninitialize..
>
AudioUnitUninitialize..
>
ComponentDispatch
>
case kAudioUnitUninitializeSelect:
>
This->DoCleanup(); // which goes on to call Cleanup();
>
result = noErr;
>
break;
>
>
Is there a particular situation where Cleanup() wouldn't be called as a
>
result of AUGraphUninitialize?
>
Maybe to do with a result of GetProperty() of somekind?
>
>
Has anyone else come across this problem at all?
>
>
Thanks,
>
Ben.
_______________________________________________
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.