You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
[Windows TTS] Fix queuing utterances in rapid succession.
(cherry picked from commit a9d326db60)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user