Пример #1
0
 public void Dispose() => _audioInput.Dispose();
 //BLARG 01.14.2020: Added a method to change the Audio device without 1. Restarting the application 2. Crashing the Application 3. The Visualization Stopping
 public void ChangeAudioDevice(MMDevice newDevice)
 {
     _audioInput.Dispose();
     _audioInput.Initialize(newDevice);
 }