[Windows TTS] Fix queuing utterances in rapid succession.

This commit is contained in:
bruvzg 2023-04-10 10:24:40 +03:00
parent e684d126ed
commit a9d326db60
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,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 {