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

Unified Diff: webrtc/common_audio/signal_processing/resample_by_2_mips.c

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/common_audio/signal_processing/resample_by_2_mips.c
diff --git a/webrtc/common_audio/signal_processing/resample_by_2_mips.c b/webrtc/common_audio/signal_processing/resample_by_2_mips.c
index 6ffce551f0c10e14045ea82cca35158731dd9200..ec5fc8b3b61c8a12a86075e915f98a265457bce9 100644
--- a/webrtc/common_audio/signal_processing/resample_by_2_mips.c
+++ b/webrtc/common_audio/signal_processing/resample_by_2_mips.c
@@ -29,11 +29,11 @@ static const uint16_t kResampleAllpass2[3] = {12199, 37471, 60255};
// decimator
void WebRtcSpl_DownsampleBy2(const int16_t* in,
- int len,
+ size_t len,
int16_t* out,
int32_t* filtState) {
int32_t out32;
- int i, len1;
+ size_t i, len1;
register int32_t state0 = filtState[0];
register int32_t state1 = filtState[1];
« no previous file with comments | « webrtc/common_audio/signal_processing/resample_by_2.c ('k') | webrtc/common_audio/signal_processing/resample_fractional.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698