public void Dispose() { if (player != null) { player.Dispose(); player = null; } }
public WavePlayerConverter(global::NAudio.Wave.IWavePlayer player) { this.player = player; }