Software Archive
Read-only legacy content
17061 Discussions

Check microphone is mute or not

Sankalp_S_
Beginner
833 Views

Hello,

I am using voice recognition of sdk in unity and i want to disable this when mic is mute of system. So how can i find microphone mute information from sdk or from unity ?

Thanks

Sankalp

0 Kudos
4 Replies
Xusheng_L_Intel
Employee
833 Views

The RealSense SDK do not have functionality to check mute state. Thanks!

0 Kudos
samontab
Valued Contributor II
833 Views

Sankalp, you could have a dedicated thread that is all the time checking for a buffer of sound. If is is quiet (under a certain threshold), it means it is mute.

0 Kudos
AndreCarlucci
Beginner
833 Views

Hi Sankalp,

You could try this library :)

http://www.computercabal.com/2010/11/mute-microphone-from-c-on-windows.html

Cheers!

0 Kudos
samontab
Valued Contributor II
833 Views

Andre, I think that library only allows you to set the mic to mute, not read the current status of it.

0 Kudos
Reply