summaryrefslogtreecommitdiff
path: root/media/libeffects/preprocessing/PreProcessing.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-01-31 12:35:20 -0800
committerEric Laurent <elaurent@google.com>2012-02-01 10:59:17 -0800
commit5a1f97c007db4a0c8f60453ca127944588dcc18e (patch)
tree9f7c518a2e98103544bb17e79826000414da1bc5 /media/libeffects/preprocessing/PreProcessing.cpp
parentdfc6cdf7930f889739690217d58797cbf5916c92 (diff)
modifications for new webrtc modules
Adapt include files path in makefile and source to new directory structure in webrtc library. Also changed the default AGC parameters to less extreme settings. Change-Id: Ia6a41c816dc44645f8f867937b722eede88c06ea
Diffstat (limited to 'media/libeffects/preprocessing/PreProcessing.cpp')
-rwxr-xr-xmedia/libeffects/preprocessing/PreProcessing.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/media/libeffects/preprocessing/PreProcessing.cpp b/media/libeffects/preprocessing/PreProcessing.cpp
index e988e06b22d5..9fd6764552e2 100755
--- a/media/libeffects/preprocessing/PreProcessing.cpp
+++ b/media/libeffects/preprocessing/PreProcessing.cpp
@@ -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)