Esempio n. 1
0
        public static void Free()
        {
            DisposeTimer.Stop();
            DisposeSoundOuts();

            BufferedWavePlayer.Free();

            instance = null;
        }
 public static void Free()
 {
     if (instance != null)
     {
         MediaDevice.DefaultAudioRenderDeviceChanged -= instance.MediaDevice_DefaultAudioRenderDeviceChanged;
         instance.Dispose();
         instance = null;
     }
 }
 public static void Free()
 {
     instance?.Dispose();
     instance = null;
 }