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

Unified Diff: webrtc/common_audio/real_fourier_ooura.h

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: Resync 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
« no previous file with comments | « webrtc/common_audio/real_fourier.cc ('k') | webrtc/common_audio/real_fourier_ooura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/real_fourier_ooura.h
diff --git a/webrtc/common_audio/real_fourier_ooura.h b/webrtc/common_audio/real_fourier_ooura.h
index 67b3ffd77bf7355263c038e7d7bcd4ace44a4407..8d094bf49434e828b0b8033b3cf750e8ee39b099 100644
--- a/webrtc/common_audio/real_fourier_ooura.h
+++ b/webrtc/common_audio/real_fourier_ooura.h
@@ -31,11 +31,11 @@ class RealFourierOoura : public RealFourier {
private:
const int order_;
- const int length_;
- const int complex_length_;
+ const size_t length_;
+ const size_t complex_length_;
// These are work arrays for Ooura. The names are based on the comments in
// fft4g.c.
- const rtc::scoped_ptr<int[]> work_ip_;
+ const rtc::scoped_ptr<size_t[]> work_ip_;
const rtc::scoped_ptr<float[]> work_w_;
};
« no previous file with comments | « webrtc/common_audio/real_fourier.cc ('k') | webrtc/common_audio/real_fourier_ooura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698