am 7c94ceae: Merge change 8130 into donut
Merge commit '7c94ceaeac65f4604fa49df6dce9a8d584f52da2'
* commit '7c94ceaeac65f4604fa49df6dce9a8d584f52da2':
Increase the volume of the AudioTrack instance used for the speech synthesis.
diff --git a/packages/TtsService/jni/android_tts_SynthProxy.cpp b/packages/TtsService/jni/android_tts_SynthProxy.cpp
index 8c83fad..99d7723 100644
--- a/packages/TtsService/jni/android_tts_SynthProxy.cpp
+++ b/packages/TtsService/jni/android_tts_SynthProxy.cpp
@@ -149,6 +149,7 @@
mAudioOut = NULL;
} else {
//LOGI("AudioTrack OK");
+ mAudioOut->setVolume(2.0f, 2.0f);
mAudioOut->start();
LOGV("AudioTrack started");
}