summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/tts_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/tts_windows.cpp b/platform/windows/tts_windows.cpp
index 54ab93ee01..6b4b09b2b9 100644
--- a/platform/windows/tts_windows.cpp
+++ b/platform/windows/tts_windows.cpp
@@ -118,7 +118,7 @@ bool TTS_Windows::is_speaking() const {
SPVOICESTATUS status;
synth->GetStatus(&status, nullptr);
- return (status.dwRunningState == SPRS_IS_SPEAKING);
+ return (status.dwRunningState == SPRS_IS_SPEAKING || status.dwRunningState == 0 /* Waiting To Speak */);
}
bool TTS_Windows::is_paused() const {