예제 #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;
 }