Detecting microphone activity
Detecting microphone activity
- Subject: Detecting microphone activity
- From: Michael Ross <email@hidden>
- Date: Wed, 26 Apr 2006 20:39:59 -0400
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?
Thanks for any help or suggestions.
----
Michael Ross
email@hidden
_______________________________________________
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