Index: Source/core/platform/audio/Biquad.cpp |
diff --git a/Source/core/platform/audio/Biquad.cpp b/Source/core/platform/audio/Biquad.cpp |
index a9f97601593264e03155d8dac22a6a8f5adf86fd..20c6487a63cfe167774549d4b466792c95532a8b 100644 |
--- a/Source/core/platform/audio/Biquad.cpp |
+++ b/Source/core/platform/audio/Biquad.cpp |
@@ -37,7 +37,7 @@ |
#include "core/platform/audio/DenormalDisabler.h" |
#include "wtf/MathExtras.h" |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
#include <Accelerate/Accelerate.h> |
#endif |
@@ -47,7 +47,7 @@ const int kBufferSize = 1024; |
Biquad::Biquad() |
{ |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
// Allocate two samples more for filter history |
m_inputBuffer.allocate(kBufferSize + 2); |
m_outputBuffer.allocate(kBufferSize + 2); |
@@ -74,7 +74,7 @@ Biquad::~Biquad() |
void Biquad::process(const float* sourceP, float* destP, size_t framesToProcess) |
{ |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
// Use vecLib if available |
processFast(sourceP, destP, framesToProcess); |
@@ -125,7 +125,7 @@ void Biquad::process(const float* sourceP, float* destP, size_t framesToProcess) |
#endif |
} |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
// Here we have optimized version using Accelerate.framework |
@@ -179,12 +179,12 @@ void Biquad::processSliceFast(double* sourceP, double* destP, double* coefficien |
destP[1] = destP[framesToProcess - 1 + 2]; |
} |
-#endif // OS(DARWIN) |
+#endif // OS(MACOSX) |
void Biquad::reset() |
{ |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
// Two extra samples for filter history |
double* inputP = m_inputBuffer.data(); |
inputP[0] = 0; |