Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e336de43 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "modifications for new webrtc modules"

parents bf695459 5387696d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ LOCAL_SRC_FILES:= \
LOCAL_C_INCLUDES += \
    external/webrtc/src \
    external/webrtc/src/modules/interface \
    external/webrtc/src/modules/audio_processing/main/interface \
    external/webrtc/src/modules/audio_processing/interface \
    system/media/audio_effects/include

LOCAL_C_INCLUDES += $(call include-path-for, speex)
+4 −4
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@
#include <audio_effects/effect_aec.h>
#include <audio_effects/effect_agc.h>
#include <audio_effects/effect_ns.h>
#include "modules/interface/module_common_types.h"
#include "modules/audio_processing/main/interface/audio_processing.h"
#include <module_common_types.h>
#include <audio_processing.h>
#include "speex/speex_resampler.h"


@@ -220,8 +220,8 @@ bool HasReverseStream(uint32_t procId)
// Automatic Gain Control (AGC)
//------------------------------------------------------------------------------

static const int kAgcDefaultTargetLevel = 0;
static const int kAgcDefaultCompGain = 90;
static const int kAgcDefaultTargetLevel = 3;
static const int kAgcDefaultCompGain = 9;
static const bool kAgcDefaultLimiter = true;

int  AgcInit (preproc_effect_t *effect)