private void CloseFile() { AudioFileReader?.Dispose(); AudioFileReader = null; WavePlayer?.Dispose(); WavePlayer = null; Providers?.Dispose(); Providers = null; }