Skip to content

Commit

Permalink
fix(android): speechRate and pitchRate are ignored (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz authored Mar 11, 2021
1 parent 28994ef commit 153a500
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public void speak(final PluginCall call) {
try {
String text = call.getString("text", "");
String locale = call.getString("locale", "en-US");
float speechRate = call.getFloat("rate", 1.0f);
float pitchRate = call.getFloat("pitch", 1.0f);
float speechRate = call.getFloat("speechRate", 1.0f);
float pitchRate = call.getFloat("pitchRate", 1.0f);
double volume = call.getDouble("volume", 1.0);

if (!supportedLocales.contains(Locale.forLanguageTag((locale)))) {
Expand Down

0 comments on commit 153a500

Please sign in to comment.