Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
- Subject: Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
- From: Marc Poirier <email@hidden>
- Date: Tue, 6 Jul 2004 14:53:15 -0400 (EDT)
On Tue, 6 Jul 2004, Eric Eizenman wrote:
>
AUGraphRemoveNode() removes the specified node from the graph. There is
>
a call to AUGraphRemoveNode() from AudioUnitHosting::SetTargetUnit()
>
which sets the new selected AU in the graph.
>
I was expecting to see a subsequent call to DoCleanup()
>
(kAudioUnitUninitializeSelect) from AUGraphRemoveNode(), but there
>
isn't. For testing I was using the SampleEffect and AudioUnitHosting
>
examples.
>
I remember someone mentioning that AudioUnitHosting doesn't clean up at
>
all, but I think that it's another issue.
>
Am I missing something ?
Sounds like you are using a pretty old AU SDK. I remember an error a few
revs back where AUBase::Predestructor() didn't get called on
kComponentCloseSelect, but it should with more recent SDKs, and doing so
will cause Cleanup() to be called if the AU is still Initialized.
Marc
_______________________________________________
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.