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

Unified Diff: third_party/WebKit/Source/platform/audio/FFTFrame.h

Issue 2689213002: Use FFT from FFMpeg for OSX (Closed)
Patch Set: Remove OSX support. Created 3 years, 10 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 | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/audio/FFTFrame.h
diff --git a/third_party/WebKit/Source/platform/audio/FFTFrame.h b/third_party/WebKit/Source/platform/audio/FFTFrame.h
index eea96f36f4d65d04baba2a93d8776dd683024bdd..619fe95bcb66b141a8ba83eeab99f4f1e7959131 100644
--- a/third_party/WebKit/Source/platform/audio/FFTFrame.h
+++ b/third_party/WebKit/Source/platform/audio/FFTFrame.h
@@ -36,9 +36,7 @@
#include "wtf/Threading.h"
#include <memory>
-#if OS(MACOSX)
-#include <Accelerate/Accelerate.h>
-#elif USE(WEBAUDIO_OPENMAX_DL_FFT)
+#if USE(WEBAUDIO_OPENMAX_DL_FFT)
#include <dl/sp/api/omxSP.h>
#elif USE(WEBAUDIO_FFMPEG)
struct RDFTContext;
@@ -99,14 +97,7 @@ class PLATFORM_EXPORT FFTFrame {
AudioFloatArray m_realData;
AudioFloatArray m_imagData;
-#if OS(MACOSX)
- DSPSplitComplex& dspSplitComplex() { return m_frame; }
- DSPSplitComplex dspSplitComplex() const { return m_frame; }
- static FFTSetup fftSetupForSize(unsigned fftSize);
- static FFTSetup* fftSetups;
- FFTSetup m_FFTSetup;
- DSPSplitComplex m_frame;
-#elif USE(WEBAUDIO_FFMPEG)
+#if USE(WEBAUDIO_FFMPEG)
static RDFTContext* contextForSize(unsigned fftSize, int trans);
RDFTContext* m_forwardContext;
RDFTContext* m_inverseContext;
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698