• 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: 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.

References: 
 >Proper way to remove an Audio Device (From: "Robert Penland" <email@hidden>)

  • Prev by Date: Re: Stream time when two processes use same device.
  • Next by Date: Re: ANN: help doing GetFactoryPresets correctly
  • Previous by thread: Proper way to remove an Audio Device
  • Next by thread: Re: Proper way to remove an Audio Device
  • Index(es):
    • Date
    • Thread