• 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: Detecting microphone activity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Detecting microphone activity
      • From: Michael Ross <email@hidden>
References: 
 >Detecting microphone activity (From: Michael Ross <email@hidden>)

  • Prev by Date: Detecting microphone activity
  • Next by Date: Re: Detecting microphone activity
  • Previous by thread: Detecting microphone activity
  • Next by thread: Re: Detecting microphone activity
  • Index(es):
    • Date
    • Thread