Get Master Sound Volume in c#
问题 I need to get the current volume of the output to the sound card. Any ideas how? 回答1: 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). 回答2: static int PlayerVolume() { RecordPlayer rp = new RecordPlayer(); rp.PlayerID = -1; int playerVolume = rp.PlayerVolume; return playerVolume; } from modified Microphone Volume in c# article 回答3: Look in MSDN