Chromium Code Reviews

Unified Diff: webrtc/common_audio/resampler/include/push_resampler.h

Issue 1231713002: Update audio code to use size_t more correctly, webrtc/common_audio/resampler/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/common_audio/resampler/include/push_resampler.h
diff --git a/webrtc/common_audio/resampler/include/push_resampler.h b/webrtc/common_audio/resampler/include/push_resampler.h
index a4e57e4b64598003b15ed4ad03bdf3b90cc29d30..b5c0003615de1e5b6f7e7d8805c09c8896425577 100644
--- a/webrtc/common_audio/resampler/include/push_resampler.h
+++ b/webrtc/common_audio/resampler/include/push_resampler.h
@@ -33,7 +33,7 @@ class PushResampler {
// Returns the total number of samples provided in destination (e.g. 32 kHz,
// 2 channel audio gives 640 samples).
- int Resample(const T* src, int src_length, T* dst, int dst_capacity);
+ int Resample(const T* src, size_t src_length, T* dst, size_t dst_capacity);
private:
rtc::scoped_ptr<PushSincResampler> sinc_resampler_;
« no previous file with comments | « no previous file | webrtc/common_audio/resampler/include/resampler.h » ('j') | webrtc/common_audio/resampler/sinc_resampler.h » ('J')

Powered by Google App Engine