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