my main goal is to have a program, that allows me to mute/unmute my microphone under windows using the 'scroll lock' key. This would give me a nice indicator for whether the mic is muted or not because of the scroll lock light on my keyboard.
How can I get information about the status of the microphone - whether it's muted or not? Any dll I could call to achieve this?
Thanks
Use CoreAudioApi. You can find dll here. Find your microphones with this function:
After microphone device found, use this to get its mute status:
If its true, then your first microphone is muted.