Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
- Subject: Re: AUGraphRemoveNode and kAudioUnitUninitializeSelect
- From: William Stewart <email@hidden>
- Date: Tue, 6 Jul 2004 16:44:20 -0700
On 06/07/2004, at 12:52 PM, Eric Eizenman wrote:
>
I am using the latest SDK. The thing is that the call to DoCleanup()
>
is coming from kComponentCloseSelect and not
>
kAudioUnitUninitializeSelect. I was assuming that there would be
>
kAudioUnitUninitializeSelect before kComponentCloseSelect.
>
So I shouldn't assume that kAudioUnitUninitializeSelect is going to be
>
called and do the clean up in my destructor as well.
Yes, that's quite possible.
Bill
>
>
------------------------------------------------------------------
>
Eric Eizenman
>
BIAS Inc., Audio Software Development
>
------------------------------------------------------------------
>
>
On Jul 6, 2004, at 11:53 AM, Marc Poirier wrote:
>
>
> 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.
>
_______________________________________________
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.