changeset 384:364e4653fe20

Non-power-of-two is not an issue if we're built with fftw
author Chris Cannam
date Thu, 16 Oct 2014 10:50:12 +0100
parents 654a7e9839f6
children 632d90c185ec
files src/vamp-hostsdk/PluginInputDomainAdapter.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/vamp-hostsdk/PluginInputDomainAdapter.cpp	Fri Sep 12 16:50:21 2014 +0100
+++ b/src/vamp-hostsdk/PluginInputDomainAdapter.cpp	Thu Oct 16 10:50:12 2014 +0100
@@ -292,10 +292,12 @@
         return false;
     }                
         
+#ifndef HAVE_FFTW3
     if (blockSize & (blockSize-1)) {
         std::cerr << "ERROR: PluginInputDomainAdapter::initialise: non-power-of-two\nblocksize " << blockSize << " not supported" << std::endl;
         return false;
     }
+#endif
 
     if (m_channels > 0) {
         for (int c = 0; c < m_channels; ++c) {