Пример #1
0
        public static void Free()
        {
            DisposeTimer.Stop();
            DisposeSoundOuts();

            BufferedWavePlayer.Free();

            instance = null;
        }
Пример #2
0
        public static List <PlayDevice> EnumerateDevices()
        {
            if (!DeviceList.Any())
            {
                var devices = WavePlayer.EnumerateDevicesByWasapiOut();
                DeviceList.AddRange(devices);
            }

            return(DeviceList);
        }
Пример #3
0
 public static void Free()
 {
     instance = null;
 }