コード例 #1
0
ファイル: WavePlayer.cs プロジェクト: qitana/ACT.Hojoring
        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
ファイル: WavePlayer.cs プロジェクト: phenz/FFXIV.Framework
 public static void Free()
 {
     instance = null;
 }