I need to get the current volume of the output to the sound card.
Any ideas how?
I solved this when I was working on a (still yet to be released...) application that initiates some kind of "elevator music" when no other sound is present.
Followed the brilliant tips given by Mark Heath, I got what I wanted :
using NAudio.CoreAudioApi;
MMDeviceEnumerator devEnum = new MMDeviceEnumerator();
MMDevice defaultDevice = devEnum.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia);
string currVolume = "MasterPeakVolume : " + defaultDevice.AudioMeterInformation.MasterPeakValue.ToString();