Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-15-2013, 12:45 AM   #1
Registered: Jun 2008
Distribution: Ubuntu
Posts: 266

Rep: Reputation: 36
Can I query which processes (if any) are currently accessing the microphone?

I'm running Debian (technically Raspbian), trying to get a Star-Trek style voice-command system. I've got it mostly up and running, but in the interests of privacy and all that jazz, I don't want my microphone always recording.

I'm wondering, is there a way to poll which processes, if any, are currently accessing the microphone? The idea is that I'd make myself a little indicator to tell if the microphone was currently recording audio or not.

My ultimate goal is to turn the microphone on and off using a TV-remote, and to have an LED indicator for if it's on or off. I've got all the hardware stuff working, I just need the software end now.

I believe that right now I'm configured in pure ALSA i.e. not PulseAudio, though I could be wrong.

Old 06-17-2013, 07:45 AM   #2
LQ Newbie
Registered: Jun 2013
Posts: 7

Rep: Reputation: Disabled
I'm guessing this is also your post:

And I just wanted to post it here for the sake of anyone who is looking to do something similar in the future and stumbles across this thread (and somehow avoids finding the other).


alsa, audio, debian, microphone, raspberry pi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MIcrophone query answerme Linux - Hardware 2 06-10-2008 11:40 PM
LXer: Query your processes under X with Qps LXer Syndicated Linux News 0 10-23-2007 02:50 PM
Problem accessing SWAP space by processes ajitup Linux - Software 7 12-03-2006 10:39 PM
Processes accessing the Hard drive albean Linux - Newbie 2 11-19-2002 06:12 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration