Merge pull request #75880 from bruvzg/win_tts_queue_fix
[Windows TTS] Fix queuing utterances in rapid succession.
This commit is contained in:
commit
c4dba9a5ef
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue