Quote Originally Posted by jmsrickland View Post
I don't think he asked how to do that - he asked how to detect if mic is in use.
Since the OP's program does use the mic, there's no point in trying to detect it. I believe what the OP really wants is to prevent the screensaver from starting whenever the OP's app is running. There are numerous ways of achieving that (as I found out via Google), including the disabling of the screensaver via some system setting.