Get Master Sound Volume in c#

Alon Gubkin picture Alon Gubkin · Mar 28, 2010 · Viewed 24.4k times · Source

I need to get the current volume of the output to the sound card.

Any ideas how?

Answer

Mark Heath picture Mark Heath · Mar 29, 2010

You can get at these values using IAudioMeterInformation in the CoreAudio APIs in Vista and Win 7.

Managed wrappers are available in NAudio (get at the AudioMeterInformation from the MMDevice).