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

Unified Diff: webrtc/common_audio/audio_util.cc

Issue 1227203003: Update audio code to use size_t more correctly, webrtc/common_audio/ portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Checkpoint Created 5 years, 5 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/audio_util.cc
diff --git a/webrtc/common_audio/audio_util.cc b/webrtc/common_audio/audio_util.cc
index be67c48f6053990ae5c16458980936532166e8a9..f8c5a2561512d544cfd3f34b81f6fb0cb235bab3 100644
--- a/webrtc/common_audio/audio_util.cc
+++ b/webrtc/common_audio/audio_util.cc
@@ -41,7 +41,7 @@ void FloatS16ToFloat(const float* src, size_t size, float* dest) {
template <>
void DownmixInterleavedToMono<int16_t>(const int16_t* interleaved,
- int num_multichannel_frames,
+ size_t num_multichannel_frames,
int num_channels,
int16_t* deinterleaved) {
DownmixInterleavedToMonoImpl<int16_t, int32_t>(

Powered by Google App Engine
This is Rietveld 408576698