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

Unified Diff: webrtc/voice_engine/utility.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
« no previous file with comments | « webrtc/voice_engine/transmit_mixer_unittest.cc ('k') | webrtc/voice_engine/utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/utility.h
diff --git a/webrtc/voice_engine/utility.h b/webrtc/voice_engine/utility.h
index 38206959b27a104587d0b2fc269fc8330b3a52b6..87003c42581cd99337e3176fb3b1c2c772d438bc 100644
--- a/webrtc/voice_engine/utility.h
+++ b/webrtc/voice_engine/utility.h
@@ -42,7 +42,7 @@ void RemixAndResample(const AudioFrame& src_frame,
// TODO(ajm): For now, this still calls Reset() on |dst_af|. Remove this, as
// it shouldn't be needed.
void DownConvertToCodecFormat(const int16_t* src_data,
- int samples_per_channel,
+ size_t samples_per_channel,
int num_channels,
int sample_rate_hz,
int codec_num_channels,
@@ -55,7 +55,7 @@ void MixWithSat(int16_t target[],
int target_channel,
const int16_t source[],
int source_channel,
- int source_len);
+ size_t source_len);
} // namespace voe
} // namespace webrtc
« no previous file with comments | « webrtc/voice_engine/transmit_mixer_unittest.cc ('k') | webrtc/voice_engine/utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698