Some of the developers IWavePlayerstill have a property Volume(for example, WaveOutand DirectSoundout do), so just keep a reference to a specific class and not to the interface. The interface IWavePlayerfeature was deprecated because not all developers can support it.
, , IWavePlayer . NAudio , , , ISampleProvider. NAudioDemo , .