Compensate very high microphone gain on Galaxy S.

This commit is contained in:
Ghislain MARY 2012-11-19 14:40:53 +01:00
parent cfee1462f4
commit f498e1fb94

View file

@ -1179,6 +1179,8 @@ public final class LinphoneManager implements LinphoneCoreListener {
public void setAudioModeIncallForGalaxyS() {
mAudioManager.setMode(MODE_IN_CALL);
/* The microphone gain is way too high on the Galaxy S so correct it here. */
LinphoneManager.getLc().setMicrophoneGain(-9.0f);
}
// Called on first launch only