title: Show volume peak of default device output
body: <p>I got code that shows volume peak of selected device. How can i make it to show volume peak without selecting device from ComboBox1?</p>
  
  <p>Here`s my code:</p>
  
  <pre><code>        public Form1()
          {
              InitializeComponent();
              MMDeviceEnumerator enumerator = new MMDeviceEnumerator();
              var devices = enumerator.EnumerateAudioEndPoints(DataFlow.All, DeviceState.Active);
              comboBox1.Items.AddRange(devices.ToArray());   
          }
  
          private NAudio.Wave.WaveFileReader wave = null;
          private NAudio.Wave.DirectSoundOut output = null;
  
          private void timer_Tick(object sender, EventArgs e)
          {
                  var device = (MMDevice) comboBox1.SelectedItem;
                  progressBar1.Value = (int)(Math.Round(device.AudioMeterInformation.MasterPeakValue * 100));
          }
  
  
  
  }
  </code></pre>