• 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: Native Device Formats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native Device Formats


  • Subject: Re: Native Device Formats
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 16 Jun 2008 13:01:51 -0700

kAudioDevicePropertyHogMode works like a toggle, so it doesn't matter what you pass in. If your process doesn't own it when you set the property value, the HAL will try to take it.

Take a look at the code backing the button in HALLab to see it in all it's glory.

On Jun 16, 2008, at 12:54 PM, Mikael Hakman wrote:

On Monday, June 16, 2008 9:06 PM, Jeff Moore wrote:

Note that the HAL won't show a process the non-mixable linear PCM formats (which would include any integer formats) in the format list until your process owns hog mode for the given device.

Hog mode requirement is understandable. The way for a process to acquire this hog mode, before starting IOProc, is to use AudioDeviceSetProperty (AudioObjectSetPropertyData) with kAudioDevicePropertyHogMode and process own pid, right?



--

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: 
 >Native Device Formats (From: email@hidden)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Brian Willoughby <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: William Stewart <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)
 >Re: Native Device Formats (From: Jeff Moore <email@hidden>)
 >Re: Native Device Formats (From: "Mikael Hakman" <email@hidden>)

  • Prev by Date: Re: Native Device Formats
  • Next by Date: AudioFileStream returning bogus magic cookie data
  • Previous by thread: Re: Native Device Formats
  • Next by thread: Re: Native Device Formats
  • Index(es):
    • Date
    • Thread