Re: Native Device Formats
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