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

Unified Diff: webrtc/common_audio/resampler/push_sinc_resampler.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 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/resampler/push_sinc_resampler.cc
diff --git a/webrtc/common_audio/resampler/push_sinc_resampler.cc b/webrtc/common_audio/resampler/push_sinc_resampler.cc
index a740423eec3771a2cc5bd2f3871ca6a2867ee2df..06e4c37ee5034ed0075bb9ae57988d63fc5b434f 100644
--- a/webrtc/common_audio/resampler/push_sinc_resampler.cc
+++ b/webrtc/common_audio/resampler/push_sinc_resampler.cc
@@ -39,7 +39,8 @@ size_t PushSincResampler::Resample(const int16_t* source,
float_buffer_.reset(new float[destination_frames_]);
source_ptr_int_ = source;
- // Pass nullptr as the float source to have Run() read from the int16 source.
+ // Pass nullptr as the float source to have Run() read from the int16_t
+ // source.
Resample(nullptr, source_length, float_buffer_.get(), destination_frames_);
FloatS16ToS16(float_buffer_.get(), destination_frames_, destination);
source_ptr_int_ = nullptr;

Powered by Google App Engine
This is Rietveld 408576698