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

Unified Diff: webrtc/common_audio/real_fourier.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/common_audio/lapped_transform_unittest.cc ('k') | webrtc/common_audio/real_fourier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/real_fourier.h
diff --git a/webrtc/common_audio/real_fourier.h b/webrtc/common_audio/real_fourier.h
index cc49dbf379a61533b73a3e0da0d262ac04d02fc2..ef4fec871e96f427ba24e19410490b5815070226 100644
--- a/webrtc/common_audio/real_fourier.h
+++ b/webrtc/common_audio/real_fourier.h
@@ -39,14 +39,14 @@ class RealFourier {
// Helper to compute the smallest FFT order (a power of 2) which will contain
// the given input length.
- static int FftOrder(int length);
+ static int FftOrder(size_t length);
// Helper to compute the input length from the FFT order.
- static int FftLength(int order);
+ static size_t FftLength(int order);
// Helper to compute the exact length, in complex floats, of the transform
// output (i.e. |2^order / 2 + 1|).
- static int ComplexLength(int order);
+ static size_t ComplexLength(int order);
// Buffer allocation helpers. The buffers are large enough to hold |count|
// floats/complexes and suitably aligned for use by the implementation.
« no previous file with comments | « webrtc/common_audio/lapped_transform_unittest.cc ('k') | webrtc/common_audio/real_fourier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698