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

Unified Diff: webrtc/common_audio/vad/vad_core.h

Issue 2739143002: Revert of Enable cpplint and fix cpplint errors in webrtc/*audio (Closed)
Patch Set: Created 3 years, 9 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/common_audio/vad/vad_core.h
diff --git a/webrtc/common_audio/vad/vad_core.h b/webrtc/common_audio/vad/vad_core.h
index 47e2d8843ebe848c3bdd297aa009e7993a2fc7f5..0a76d967ddd9cac3254ea130e92c5fc8e937b54f 100644
--- a/webrtc/common_audio/vad/vad_core.h
+++ b/webrtc/common_audio/vad/vad_core.h
@@ -24,7 +24,9 @@
enum { kTableSize = kNumChannels * kNumGaussians };
enum { kMinEnergy = 10 }; // Minimum energy required to trigger audio signal.
-typedef struct VadInstT_ {
+typedef struct VadInstT_
+{
+
int vad;
int32_t downsampling_filter_states[4];
WebRtcSpl_State48khzTo8khz state_48_to_8;
@@ -34,7 +36,7 @@
int16_t speech_stds[kTableSize];
// TODO(bjornv): Change to |frame_count|.
int32_t frame_counter;
- int16_t over_hang; // Over Hang
+ int16_t over_hang; // Over Hang
int16_t num_of_speech;
// TODO(bjornv): Change to |age_vector|.
int16_t index_vector[16 * kNumChannels];
@@ -50,6 +52,7 @@
int16_t total[3];
int init_flag;
+
} VadInstT;
// Initializes the core VAD component. The default aggressiveness mode is
« no previous file with comments | « webrtc/common_audio/signal_processing/signal_processing_unittest.cc ('k') | webrtc/common_audio/vad/vad_core_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698