• 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: Audio driver - can I hide it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio driver - can I hide it?


  • Subject: Re: Audio driver - can I hide it?
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 18 Mar 2009 15:55:38 -0700


On Mar 18, 2009, at 3:46 PM, Thomas Tempelmann wrote:

I've written a special-use IOKit audio output driver which I like to
hide from "normal" use. I.e, I don't want it to appear in programs
that query for output devices, such as the Sound Preferences app does.
Only my own tools need to know that it is available.

Is that possible?

Certainly. You can add the key, kIOAudioEngineIsHiddenKey, to the IORegistry entries for your IOAudioEngine instance. The value for the key is an integer where a value of 0 means that the device isn't hidden, and non-zero if it is hidden.


Doing this will tell the HAL not to include your device in the device list. The only way to discover the device is to use kAudioHardwarePropertyDeviceForUID. This means that any programs that need to use the device need to know the UID or be able to discover it using means outside of the HAL (usually, it will just be hard coded).


And is that even the right list for asking questions for audio drivers?

This is a fine place to ask questions about drivers.


--

Jeff Moore
Core Audio
Apple


_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Audio driver - can I hide it? (From: Thomas Tempelmann <email@hidden>)

  • Prev by Date: Audio driver - can I hide it?
  • Next by Date: Re: How to fill the ioData parameter in the Audio Unit rendering call back?
  • Previous by thread: Audio driver - can I hide it?
  • Next by thread: ConvertFile sample on iPhone 2.2.1 SDK
  • Index(es):
    • Date
    • Thread