Can we disable a microphone from a c++ code

2.4k Views Asked by At

I want to "disable" a microphone(an audio capturing device) from my c++ program. if we can do it in windows GUI then there might be a way to do it via c++ code. We can mute the microphone but the requirement is disabling it. I googled a lot but couldn't find a way. Thank you.

1

There are 1 best solutions below

0
On BEST ANSWER

got answer to my question here A change is required in registry in value of HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\'_some_id_'\ DeviceState