[Windows TTS] Fix queuing utterances in rapid succession.
This commit is contained in:
parent
e684d126ed
commit
a9d326db60
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue