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/modules/audio_processing/aecm/include/echo_control_mobile.h

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/aecm/include/echo_control_mobile.h
diff --git a/webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h b/webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h
index 22e0fe6bfba99dce2cff3726f510ba909ac38503..7ae15c2a3d62d7fc7cf620110e61ac788cbe548a 100644
--- a/webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h
+++ b/webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h
@@ -87,7 +87,7 @@ int32_t WebRtcAecm_Init(void* aecmInst, int32_t sampFreq);
*/
int32_t WebRtcAecm_BufferFarend(void* aecmInst,
const int16_t* farend,
- int16_t nrOfSamples);
+ size_t nrOfSamples);
/*
* Runs the AECM on an 80 or 160 sample blocks of data.
@@ -118,7 +118,7 @@ int32_t WebRtcAecm_Process(void* aecmInst,
const int16_t* nearendNoisy,
const int16_t* nearendClean,
int16_t* out,
- int16_t nrOfSamples,
+ size_t nrOfSamples,
int16_t msInSndCardBuf);
/*
« no previous file with comments | « webrtc/modules/audio_processing/aecm/echo_control_mobile.c ('k') | webrtc/modules/audio_processing/agc/agc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698