• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Proper way to remove an Audio Device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper way to remove an Audio Device


  • Subject: Re: Proper way to remove an Audio Device
  • From: Bill Stewart <email@hidden>
  • Date: Fri, 19 Sep 2003 10:28:55 -0700

Yes - you should re-read Matt's comments - the HAL can't sign you out because there is still an active client. Matt's comments indicated that this mysterious client that is holding onto you is the Modem kext. We'll talk to them about that, find out what they are doing, etc, but in the meantime, that seems to be the only solution

Bill

On Friday, September 19, 2003, at 09:39 AM, Robert Penland wrote:

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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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.
  • Follow-Ups:
    • Re: Proper way to remove an Audio Device
      • From: Matthew Xavier Mora <email@hidden>
  • Prev by Date: Re: Proper way to remove an Audio Device
  • Next by Date: Re: Proper way to remove an Audio Device
  • Previous by thread: Re: Proper way to remove an Audio Device
  • Next by thread: Re: Proper way to remove an Audio Device
  • Index(es):
    • Date
    • Thread