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

Unified Diff: webrtc/common_audio/fft4g.c

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 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/fft4g.c
diff --git a/webrtc/common_audio/fft4g.c b/webrtc/common_audio/fft4g.c
index cbc4dc31eb544ae9cd792dfc4fb8c9e59fe8d021..ad5f383e695791048ddd3417060546fc90a1e4d2 100644
--- a/webrtc/common_audio/fft4g.c
+++ b/webrtc/common_audio/fft4g.c
@@ -648,7 +648,7 @@ static void makewt(int nw, int *ip, float *w)
ip[1] = 1;
if (nw > 2) {
nwh = nw >> 1;
- delta = (float)atan(1.0f) / nwh;
+ delta = atanf(1.0f) / nwh;
w[0] = 1;
w[1] = 0;
w[nwh] = (float)cos(delta * nwh);
@@ -676,7 +676,7 @@ static void makect(int nc, int *ip, float *c)
ip[1] = nc;
if (nc > 1) {
nch = nc >> 1;
- delta = (float)atan(1.0f) / nch;
+ delta = atanf(1.0f) / nch;
c[0] = (float)cos(delta * nch);
c[nch] = 0.5f * c[0];
for (j = 1; j < nch; j++) {
« no previous file with comments | « talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc ('k') | webrtc/common_audio/lapped_transform_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698