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: Jeff Moore <email@hidden>
- Date: Thu, 18 Sep 2003 09:54:00 -0700
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
_______________________________________________
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.