Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithiesh committed Jul 4, 2019
1 parent eace3f0 commit 9c8b9ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mainapp/Classes/Games/Books/BookPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ void BookPage::update(float delta)
std::string readSentence = "";
for (auto w : newReadingSentence.words)
{
readSentence.append(" ... ");
readSentence.append(" ");
readSentence.append(w.word);
VoiceMoldManager::shared()->speak(readSentence);
}
VoiceMoldManager::shared()->speak(readSentence);
_timeSentence = 0.0;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void speak(String text) {
text = header + text;
}

wrapper.getTts().speak(text, TextToSpeech.QUEUE_FLUSH, createParamsForSpeak());
wrapper.getTts().speak(text, TextToSpeech.QUEUE_FLUSH, null);
}

public void warmup() {
Expand Down

0 comments on commit 9c8b9ca

Please sign in to comment.