Skip to content

Commit

Permalink
style: 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
gdoudeng committed Mar 22, 2024
1 parent 89cd4cc commit 9e8156e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public void speak(String text, String utteranceId, final ReadableMap options, Ca
// 合成前可以修改参数:
Map<String, String> params = getParams(options);
synthesizer.setParams(params);
// int result = synthesizer.speak(text);
int result;
if (utteranceId == null) {
result = synthesizer.speak(text);
Expand Down Expand Up @@ -330,10 +329,8 @@ private void handleMsg(Message msg) {
}

if (msg.what == MainHandlerConstant.STATUS_ERROR) {
// Log.w("错误回调 ", params.toString());
onJSEvent("onSynthesizerError", params);
} else {
// Log.w("结果回调 ", params.toString());
onJSEvent("onSynthesizerResult", params);
}
}
Expand Down

0 comments on commit 9e8156e

Please sign in to comment.