Re: Proper way to remove an Audio Device
Re: Proper way to remove an Audio Device
- Subject: Re: Proper way to remove an Audio Device
- From: "Robert Penland" <email@hidden>
- Date: Fri, 19 Sep 2003 09:39:02 -0700
- Thread-topic: Re: Proper way to remove an Audio Device
Jeff,
So are you saying that it can't be done?
Rob
Message: 10
From: Jeff Moore <email@hidden>
Subject: Re: Proper way to remove an Audio Device
Date: Thu, 18 Sep 2003 09:54:00 -0700
To: CoreAudio API <email@hidden>
The HAL registers to receive kIOMessageServiceIsTerminated messages for
IOAudioEngine objects to know when a device goes away.
That said, there apparently is a rogue process somewhere on the system
that has an extra retain on the IOAudio objects. I haven't been able to
identify what this process is because it doesn't appear to do this
through the HAL.
On Sep 17, 2003, at 6:21 PM, Robert Penland wrote:
>
What is the prescribed sequence of calls for removing a CoreAudio
>
device in the kernel? Our Audio device driver is part of another kext
>
driver and when the last instance of our main driver is closed, I want
>
to eliminate the Audio devices. I have tried calling terminate on the
>
Audio device object, but if I then do a kextunload of our main driver
>
it fails saying there is still 1 instance of my Audiodevice and it's
>
associated Engines present.
>
>
Thanks,
>
Rob
--
Jeff Moore
Core Audio
Apple
--__--__--
Robert Penland
Principal Member of Technical Staff, Broadcast and Professional Division
Tel: (650) 237 1715 Fax: (650) 237 1960
email@hidden
280 N. Bernardo Ave
Mountain View, CA 94043
_______________________________________________
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.