Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
- Subject: Re: AUGraphUninitialize not calling AUBase::Cleanup() ?
- From: Robert Grant <email@hidden>
- Date: Wed, 18 Jun 2003 11:07:47 -0400
Hi Marc,
Yeah I've not seen the appropriate code in Rax either - though weirdly
it's calling Cleanup in the Music Device I'm developing :-(! For some
reason I'm removing all the nodes from the graph before uninitializing
it. I'm sure there was a reason when I wrote it - probably ignorance :-)
I wouldn't call Rax an exemplary host, more of a learning exercise for
me. I should go back and rewrite it but I've been drawn in a slightly
different hosting direction, and one that seems more flexible and
useful.
Robert.
On Wednesday, June 18, 2003, at 10:53 AM, Marc Poirier wrote:
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.
_______________________________________________
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.