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

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

Issue 1192863006: Revert "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
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing.gypi ('k') | webrtc/modules/audio_processing/vad/gmm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/vad/common.h
diff --git a/webrtc/modules/audio_processing/vad/common.h b/webrtc/modules/audio_processing/vad/common.h
deleted file mode 100644
index 0772d55489430aa7633058b5e02b6c21020d9545..0000000000000000000000000000000000000000
--- a/webrtc/modules/audio_processing/vad/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_VAD_COMMON_H_
-#define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_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_VAD_COMMON_H_
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing.gypi ('k') | webrtc/modules/audio_processing/vad/gmm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698