예제 #1
0
        private void ExecuteResetWasapiDeviceCommand()
        {
            SoundPlayerWrapper.Init();
            Thread.Sleep(10);
            SoundPlayerWrapper.LoadTTSCache();

            this.Logger.Info("Reset WASAPI Player, and Reload TTS chache.");
        }
예제 #2
0
        private async void ExecuteResetWasapiDeviceCommand()
        {
            SoundPlayerWrapper.Init();
            await Task.Delay(10);

            SoundPlayerWrapper.LoadTTSCache();

            this.Logger.Info("Reset WASAPI Player, and Reload TTS chache.");
        }