LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-14-2013, 11:45 PM   #1
jmite
Member
 
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.

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

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

http://unix.stackexchange.com/questi...the-microphone

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).
 
  


Reply

Tags
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 10:40 PM
LXer: Query your processes under X with Qps LXer Syndicated Linux News 0 10-23-2007 01:50 PM
Problem accessing SWAP space by processes ajitup Linux - Software 7 12-03-2006 09:39 PM
Processes accessing the Hard drive albean Linux - Newbie 2 11-19-2002 05:12 PM


All times are GMT -5. The time now is 09:18 PM.

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