Skip to content

Commit

Permalink
Fix asynchronous speaking with NVDA.
Browse files Browse the repository at this point in the history
  • Loading branch information
a11cf0 committed Oct 12, 2024
1 parent 4097cbb commit 6ecb558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SRC/NVDA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ bool NVDA::Speak(const char* text, bool interrupt) {

std::wstring out;
UnicodeConvert(text_str, out);
error_status_t result = nvdaController_speakSsml(out.c_str(), -1, 0, 0);
error_status_t result = nvdaController_speakSsml(out.c_str(), -1, 0, true);
if (result == 0)return true;
else if (result == 1717) {
RemoveSsml(text_str);
Expand Down

0 comments on commit 6ecb558

Please sign in to comment.