I'm using NAudio.dll in a C# application. I found that IWavePlayer has the property Volume but it's obsolete.
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; }
//..........................
}
So what should I do to set the volume? Does anyone have an example of how to do it?