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

Unified Diff: Source/core/platform/audio/DirectConvolver.cpp

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 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 | « Source/core/platform/audio/Biquad.cpp ('k') | Source/core/platform/audio/FFTFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/DirectConvolver.cpp
diff --git a/Source/core/platform/audio/DirectConvolver.cpp b/Source/core/platform/audio/DirectConvolver.cpp
index 5594dfbfb4755269a18fb8e57372b8bb3090358d..030719f53c3c26dee63c506c6c914cc964a7be53 100644
--- a/Source/core/platform/audio/DirectConvolver.cpp
+++ b/Source/core/platform/audio/DirectConvolver.cpp
@@ -32,7 +32,7 @@
#include "core/platform/audio/DirectConvolver.h"
-#if OS(DARWIN)
+#if OS(MACOSX)
#include <Accelerate/Accelerate.h>
#endif
@@ -89,7 +89,7 @@ void DirectConvolver::process(AudioFloatArray* convolutionKernel, const float* s
// Copy samples to 2nd half of input buffer.
memcpy(inputP, sourceP, sizeof(float) * framesToProcess);
-#if OS(DARWIN)
+#if OS(MACOSX)
#if defined(__ppc__) || defined(__i386__)
conv(inputP - kernelSize + 1, 1, kernelP + kernelSize - 1, -1, destP, 1, framesToProcess, kernelSize);
#else
@@ -365,7 +365,7 @@ void DirectConvolver::process(AudioFloatArray* convolutionKernel, const float* s
}
destP[i++] = sum;
}
-#endif // OS(DARWIN)
+#endif // OS(MACOSX)
// Copy 2nd half of input buffer to 1st half.
memcpy(m_buffer.data(), inputP, sizeof(float) * framesToProcess);
« no previous file with comments | « Source/core/platform/audio/Biquad.cpp ('k') | Source/core/platform/audio/FFTFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698