From af5d352c223a1f0b00673b2b3b089d7547205f15 Mon Sep 17 00:00:00 2001 From: T'kael Date: Fri, 28 Jun 2024 17:35:26 -0700 Subject: [PATCH] Disallow eSpeak voices (which do not seem to work in any case) Resolves Rollbar #26308 --- SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs b/SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs index 5083a9ce6f..b53fbdf332 100644 --- a/SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs +++ b/SpeechService/SpeechSynthesizers/SystemSpeechSynthesizer.cs @@ -57,7 +57,8 @@ bool TrySystemVoice ( VoiceDetails voiceDetails ) systemSpeechVoices = synth .GetInstalledVoices() .Where( v => v.Enabled && - !v.VoiceInfo.Name.Contains( "Microsoft Server Speech Text to Speech Voice" ) ) + !v.VoiceInfo.Name.Contains( "Microsoft Server Speech Text to Speech Voice" ) && + !v.VoiceInfo.Name.Contains( "eSpeak" ) ) .ToList(); }