[GStreamer][Mac] Fix WebAudio build
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Oct 2015 17:48:47 +0000 (17:48 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Oct 2015 17:48:47 +0000 (17:48 +0000)
commit0103b3a801e387a8e4d7dcbd5e301da3f07d4c01
tree6efae3f7b524f4528ec9b6e15bb8d828e6daa294
parent09839da99bedc5c15d64d32b88ea366141da6b65
[GStreamer][Mac] Fix WebAudio build
https://bugs.webkit.org/show_bug.cgi?id=150030

Patch by Philippe Normand <pnormand@igalia.com> on 2015-10-31
Reviewed by Darin Adler.

Wrap Accelerate.framework API calls around USE(ACCELERATE) ifdefs.

* platform/audio/Biquad.cpp:
(WebCore::Biquad::Biquad):
(WebCore::Biquad::process):
(WebCore::Biquad::reset):
* platform/audio/Biquad.h:
* platform/audio/DirectConvolver.cpp:
(WebCore::DirectConvolver::process):
* platform/audio/FFTFrame.h:
* platform/audio/VectorMath.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/audio/Biquad.cpp
Source/WebCore/platform/audio/Biquad.h
Source/WebCore/platform/audio/DirectConvolver.cpp
Source/WebCore/platform/audio/FFTFrame.h
Source/WebCore/platform/audio/VectorMath.cpp