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

Unified Diff: webrtc/common_audio/signal_processing/filter_ar.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/filter_ar.c
diff --git a/webrtc/common_audio/signal_processing/filter_ar.c b/webrtc/common_audio/signal_processing/filter_ar.c
index 2a1805c7ad42f83a41dbe857d89887629fdd7d5c..dfbc4c2f7a0ad2effe892002c910a63eefcaade4 100644
--- a/webrtc/common_audio/signal_processing/filter_ar.c
+++ b/webrtc/common_audio/signal_processing/filter_ar.c
@@ -17,21 +17,21 @@
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
-int WebRtcSpl_FilterAR(const int16_t* a,
- int a_length,
- const int16_t* x,
- int x_length,
- int16_t* state,
- int state_length,
- int16_t* state_low,
- int state_low_length,
- int16_t* filtered,
- int16_t* filtered_low,
- int filtered_low_length)
+size_t WebRtcSpl_FilterAR(const int16_t* a,
+ size_t a_length,
+ const int16_t* x,
+ size_t x_length,
+ int16_t* state,
+ size_t state_length,
+ int16_t* state_low,
+ size_t state_low_length,
+ int16_t* filtered,
+ int16_t* filtered_low,
+ size_t filtered_low_length)
{
int32_t o;
int32_t oLOW;
- int i, j, stop;
+ size_t i, j, stop;
const int16_t* x_ptr = &x[0];
int16_t* filteredFINAL_ptr = filtered;
int16_t* filteredFINAL_LOW_ptr = filtered_low;
« no previous file with comments | « webrtc/common_audio/signal_processing/energy.c ('k') | webrtc/common_audio/signal_processing/filter_ar_fast_q12.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698