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

Unified Diff: webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 4 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/intelligibility/test/intelligibility_proc.cc
diff --git a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
index 6b6bfa0dfe27f92a04699b8605fcc2810fbd4086..e20429da3f02511e42f519e60b0252e17145eea8 100644
--- a/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
+++ b/webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc
@@ -111,7 +111,7 @@ void void_main(int argc, char* argv[]) {
config.sample_rate_hz = FLAGS_sample_rate;
config.var_type = static_cast<VarianceArray::StepType>(FLAGS_clear_type);
config.var_decay_rate = static_cast<float>(FLAGS_clear_alpha);
- config.var_window_size = FLAGS_clear_window;
+ config.var_window_size = static_cast<size_t>(FLAGS_clear_window);
config.analysis_rate = FLAGS_ana_rate;
config.gain_change_limit = FLAGS_gain_limit;
IntelligibilityEnhancer enh(config);

Powered by Google App Engine
This is Rietveld 408576698