Re: Detecting microphone activity
Re: Detecting microphone activity
- Subject: Re: Detecting microphone activity
- From: Jeff Moore <email@hidden>
- Date: Wed, 26 Apr 2006 17:44:12 -0700
You are correct. kAudioDevicePropertyDeviceIsRunningSomewhere just
tracks whether the device's engine is running in some process on the
machine or not. It doesn't have enough information to know which
process that might be or what sections/channels on the device the
process might be using.
On Apr 26, 2006, at 5:39 PM, Michael Ross wrote:
I'm interested in detecting if any process is reading from my
iBook's microphone. Using the
kAudioDevicePropertyDeviceIsRunningSomewhere property, I can easily
tell if the sound card is active or inactive, but this doesn't seem
to distinguish between input and output activity.
When using AudioDeviceGetProperty, the results seem insensitive to
the isInput parameter, and, similarly, using the
AudioObjectGetPropertyData, setting the scope to
kAudioDevicePropertyScopeInput appears to have no effect.
My understanding is that this is the "RunningSomewhere" property is
the only way for one process to check on other processes' use of
audio hardware? Is this correct?
--
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