• 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: Allowing a user-space driver to be the default system driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing a user-space driver to be the default system driver


  • Subject: Re: Allowing a user-space driver to be the default system driver
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 24 Mar 2005 11:55:06 -0800

You need to implement the following properties in each device:
kAudioDevicePropertyDeviceCanBeDefaultDevice = 'dflt',
// a UInt32 where 0 means that the device cannot be selected as the default
// device and 1 menas that it can. The isInput argument selects which kind
// of default device is being queried.


kAudioDevicePropertyDeviceCanBeDefaultSystemDevice = 'sflt',
// a UInt32 where 0 means that the device cannot be selected as the default
// system device and 1 menas that it can. The isInput argument selects which
// kind of default system device is being queried. Note that this property can
// only be queried for output.


In addition, the HAL shell adds other restrictions including (but not limited to) disallowing non-mixable devices as well as non-linear PCM devices.

On Mar 24, 2005, at 7:40 AM, Stéphane Letz wrote:

We are developing a user-space driver (that implement the AudioHardwarePlugIn.h API). What is the right way to allow this kind of driver to be the default system output or input driver?
(When selecting our driver in AudioMidi setup as the default system output or input, this "state" is not saved, thus when opening again the AudioMidi setup, our driver does not appear as default system output or input anymore.)




--

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: 
 >Allowing a user-space driver to be the default system driver (From: Stéphane Letz <email@hidden>)

  • Prev by Date: AUView Test project
  • Next by Date: Re: Speaker setup + possible typo in CoreAudioTypes.h label value?
  • Previous by thread: Allowing a user-space driver to be the default system driver
  • Next by thread: AUView Test project
  • Index(es):
    • Date
    • Thread