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 |
index 0772d55489430aa7633058b5e02b6c21020d9545..be99c1c59d4596cd06967d3a0a443add94097408 100644 |
--- a/webrtc/modules/audio_processing/vad/common.h |
+++ b/webrtc/modules/audio_processing/vad/common.h |
@@ -12,15 +12,15 @@ |
#define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_COMMON_H_ |
static const int kSampleRateHz = 16000; |
-static const int kLength10Ms = kSampleRateHz / 100; |
-static const int kMaxNumFrames = 4; |
+static const size_t kLength10Ms = kSampleRateHz / 100; |
+static const size_t kMaxNumFrames = 4; |
struct AudioFeatures { |
double log_pitch_gain[kMaxNumFrames]; |
double pitch_lag_hz[kMaxNumFrames]; |
double spectral_peak[kMaxNumFrames]; |
double rms[kMaxNumFrames]; |
- int num_frames; |
+ size_t num_frames; |
bool silence; |
}; |