Search code examples
c#audiovolumemixer

Get Master Sound Volume in c#


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

Any ideas how?


Solution

  • 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).