From 23bc385864efa9e19826bf5975f7e1aa8e172c02 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 22 Sep 2020 12:38:52 +0100 Subject: [PATCH] ARM: Fix AudioBlock test build on ARM --- modules/juce_dsp/containers/juce_AudioBlock_test.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/juce_dsp/containers/juce_AudioBlock_test.cpp b/modules/juce_dsp/containers/juce_AudioBlock_test.cpp index cde4a779e6..a337ebee2b 100644 --- a/modules/juce_dsp/containers/juce_AudioBlock_test.cpp +++ b/modules/juce_dsp/containers/juce_AudioBlock_test.cpp @@ -354,6 +354,7 @@ private: expectEquals (otherBuffer.getSample (1, 2), block.getSample (1, 3)); } + #if JUCE_USE_SIMD template SIMDVoid copyingTests() { @@ -396,6 +397,7 @@ private: expectEquals (block.getSample (1, 3).get (1), numericData.getSample (1, (int) ((numSIMDElements * 2) + 1))); } } + #endif //============================================================================== template @@ -491,8 +493,11 @@ private: static AudioBlockUnitTests audioBlockFloatUnitTests; static AudioBlockUnitTests audioBlockDoubleUnitTests; + +#if JUCE_USE_SIMD static AudioBlockUnitTests> audioBlockSIMDFloatUnitTests; static AudioBlockUnitTests> audioBlockSIMDDoubleUnitTests; +#endif } // namespace dsp } // namespace juce