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

Unified Diff: Source/platform/audio/Biquad.h

Issue 801033003: remove WTF::Complex (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove WTF::Complex typedef Created 6 years 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 | « Source/modules/webaudio/RealtimeAnalyser.cpp ('k') | Source/platform/audio/Biquad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/Biquad.h
diff --git a/Source/platform/audio/Biquad.h b/Source/platform/audio/Biquad.h
index 3fcc1d440ef7da70c49b211f7f9d2cb57357ba35..25f18959125e04612060ae5e3fcc564ea8afdf8b 100644
--- a/Source/platform/audio/Biquad.h
+++ b/Source/platform/audio/Biquad.h
@@ -31,7 +31,7 @@
#include "platform/PlatformExport.h"
#include "platform/audio/AudioArray.h"
-#include "wtf/Complex.h"
+#include <complex>
#include <sys/types.h>
#if USE(WEBAUDIO_IPP)
@@ -65,11 +65,11 @@ public:
// Set the biquad coefficients given a single zero (other zero will be conjugate)
// and a single pole (other pole will be conjugate)
- void setZeroPolePairs(const Complex& zero, const Complex& pole);
+ void setZeroPolePairs(const std::complex<double>& zero, const std::complex<double>& pole);
// Set the biquad coefficients given a single pole (other pole will be conjugate)
// (The zeroes will be the inverse of the poles)
- void setAllpassPole(const Complex& pole);
+ void setAllpassPole(const std::complex<double>&);
// Resets filter state
void reset();
« no previous file with comments | « Source/modules/webaudio/RealtimeAnalyser.cpp ('k') | Source/platform/audio/Biquad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698