title: Set volume in NAudio
body: <p>I'm using <code>NAudio.dll</code> in a C# application. I found that <code>IWavePlayer</code> has the property  <code>Volume</code> but it's obsolete. </p>
  
  <pre><code> public interface IWavePlayer : IDisposable
      {
          [Obsolete("Not intending to keep supporting this going forward: set the volume on your input WaveProvider instead")]
          float Volume { get; set; }
  
         //..........................
      }
  </code></pre>
  
  <p>So what should I do to set the volume? Does anyone have an example of how to do it?</p>