Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
- Subject: Re: What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an audio driver?
- From: Jeff Moore <email@hidden>
- Date: Tue, 20 May 2003 12:11:13 -0700
The value of kAudioDevicePropertyDeviceIsRunningSomewhere is determined
by the HAL receiving the start/stop/pause/resume notifications from the
driver.
There is a bug in the current HAL that prevents it from sending a
notification out when this value changes, but the value itself should
still be set appropriately.
On Tuesday, May 20, 2003, at 06:51 AM, Sean McBride wrote:
Hi all,
I'm trying to make my preference pane able to detect if my core audio
driver is in use. I'm using AudioDeviceGetProperty() and
kAudioDevicePropertyDeviceIsRunningSomewhere.
As expected it reports 'not busy' at boot, and 'busy' after an app
starts
to use it. But once it reports 'busy' it never becomes 'not busy' even
if I quit all apps and log out and in again.
I suspect a bug in our audio driver because I do not see the same thing
when querying AppleDBDMAAudioDMAEngine instead.
What corresponds to kAudioDevicePropertyDeviceIsRunningSomewhere in an
audio driver? Is it performAudioEngineStart and
performAudioEngineStop,
or something else? Knowing this would help me look for a problem in my
drivers.
Thanks!
--
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.