Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: webrtc/modules/audio_processing/vad/pitch_internal.cc

Issue 1212543002: Pull the Voice Activity Detector out from the AGC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/vad/pitch_internal.cc
diff --git a/webrtc/modules/audio_processing/agc/pitch_internal.cc b/webrtc/modules/audio_processing/vad/pitch_internal.cc
similarity index 96%
rename from webrtc/modules/audio_processing/agc/pitch_internal.cc
rename to webrtc/modules/audio_processing/vad/pitch_internal.cc
index b394074bd3e2ea136e6cee62538eb8e17b9b28bf..309b45acf5362ec13eb376319b992893a3686b05 100644
--- a/webrtc/modules/audio_processing/agc/pitch_internal.cc
+++ b/webrtc/modules/audio_processing/vad/pitch_internal.cc
@@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/audio_processing/agc/pitch_internal.h"
+#include "webrtc/modules/audio_processing/vad/pitch_internal.h"
#include <cmath>
@@ -25,7 +25,6 @@ static void PitchInterpolation(double old_val, const double* in, double* out) {
out[2] = 0.5 * in[2] + 0.5 * in[3];
}
-
void GetSubframesPitchParameters(int sampling_rate_hz,
double* gains,
double* lags,

Powered by Google App Engine
This is Rietveld 408576698