diff options
-rw-r--r-- | voip/jni/rtp/AudioGroup.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/voip/jni/rtp/AudioGroup.cpp b/voip/jni/rtp/AudioGroup.cpp index 529b425..5f07bb5 100644 --- a/voip/jni/rtp/AudioGroup.cpp +++ b/voip/jni/rtp/AudioGroup.cpp @@ -628,12 +628,13 @@ bool AudioGroup::setMode(int mode) if (mode < 0 || mode > LAST_MODE) { return false; } - //FIXME: temporary code to overcome echo and mic gain issues on herring board. - // Must be modified/removed when proper support for voice processing query and control - // is included in audio framework + // FIXME: temporary code to overcome echo and mic gain issues on herring and tuna boards. + // Must be modified/removed when the root cause of the issue is fixed in the hardware or + // driver char value[PROPERTY_VALUE_MAX]; property_get("ro.product.board", value, ""); - if (mode == NORMAL && !strcmp(value, "herring")) { + if (mode == NORMAL && + (!strcmp(value, "herring") || !strcmp(value, "tuna"))) { mode = ECHO_SUPPRESSION; } if (mMode == mode) { |