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

Unified Diff: webrtc/modules/audio_processing/agc/common.h

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/agc/common.h
diff --git a/webrtc/modules/audio_processing/agc/common.h b/webrtc/modules/audio_processing/agc/common.h
deleted file mode 100644
index e9ed1edadd5403bf3c6a48f1ea22c1f3b96eba39..0000000000000000000000000000000000000000
--- a/webrtc/modules/audio_processing/agc/common.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC_COMMON_H_
-#define WEBRTC_MODULES_AUDIO_PROCESSING_AGC_COMMON_H_
-
-static const int kSampleRateHz = 16000;
-static const int kLength10Ms = kSampleRateHz / 100;
-static const int kMaxNumFrames = 4;
-
-struct AudioFeatures {
- double log_pitch_gain[kMaxNumFrames];
- double pitch_lag_hz[kMaxNumFrames];
- double spectral_peak[kMaxNumFrames];
- double rms[kMaxNumFrames];
- int num_frames;
- bool silence;
-};
-
-#endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698