예제 #1
0
        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();
 }
예제 #3
0
 public override void InitPlugin()
 {
     //waveOut = new WaveOut();
     audioOutput = new WasapiOutRT(AudioClientShareMode.Shared, 100);
 }