private void CloseAudioOutput() { //waveOut.Dispose(); //waveOut = null; if (audioOutput != null) audioOutput.Dispose(); audioOutput = null; }
private void InitializeWasapi() { WasapiOut = new WasapiOutRT(AudioClientShareMode.Shared, 100); WasapiOut.Init(WaveProvider); WasapiOut.Play(); }
public override void InitPlugin() { //waveOut = new WaveOut(); audioOutput = new WasapiOutRT(AudioClientShareMode.Shared, 100); }