Skip to content

Commit a465dc8

Browse files
committed
Updating to an accurate and working Synthesizer
1 parent ef00edd commit a465dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sdk-addon-google-speech/src/main/java/com/chattylabs/sdk/android/voice/GoogleSpeechSynthesizer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public final class GoogleSpeechSynthesizer extends BaseSpeechSynthesizer {
5858
private AudioConfig audioConfig;
5959
private MediaPlayer mediaPlayer;
6060
private final ConditionVariable mCondVar = new ConditionVariable();
61-
private boolean completed; //released
62-
private int extraCode; //released
61+
private boolean completed;
62+
private int extraCode;
6363

6464
GoogleSpeechSynthesizer(Application application,
6565
ComponentConfig configuration,
@@ -158,7 +158,7 @@ private void finishPlayer() {
158158
if (mediaPlayer != null) mediaPlayer.stop();
159159
logger.v(TAG, "GOOGLE TTS - stopped");
160160
} catch (IllegalStateException ex) {
161-
// Do nothing, the player is already stopped
161+
// Does nothing, the player is already stopped
162162
}
163163
mCondVar.open();
164164
if (mediaPlayer != null) {

0 commit comments

Comments
 (0)