OSDN Git Service

Issue 4157048: mic gain for VoIP/SIP calls.
authorEric Laurent <elaurent@google.com>
Wed, 30 Mar 2011 01:22:57 +0000 (18:22 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 30 Mar 2011 01:44:03 +0000 (18:44 -0700)
commitd7a724e6d89420408200c20937baa3b2bd902742
tree814c39640271aeb36e7c39060bee6fb5c9e8f7e3
parent87805ca3a477e165891baa18efe5239a70d11bc9
Issue 4157048: mic gain for VoIP/SIP calls.

Herring board exhibits a strong echo even in non speakerphone modes.
To compensate the lack of AEC or AES when not in speakerphone, the mic gain
had been reduced in the ADC. But this has an adverse effect on other VoIP applications
that have their own AEC and are penalized by the weak mic gain.

This workaround enables an acceptable mic gain for other VoIP apps while offering a
SIP call experience which is not worse than it was with the residual echo that was
present even with mic gain reduction.

Change-Id: I33fd37858758e94e42ef5b545d3f0dc233220bf1
voip/jni/rtp/AudioGroup.cpp