diff plugin/PiperVampPluginFactory.cpp @ 1249:d45a16c232bd piper

Align Sonic Annotator with the new Piper-ified subrepos (bearing in mind we want neither Piper nor the plugin load checker in Sonic Annotator itself)
author Chris Cannam
date Fri, 04 Nov 2016 14:16:01 +0000
parents 58dd6a6fe414
children c2d66e3c83d0
line wrap: on
line diff
--- a/plugin/PiperVampPluginFactory.cpp	Thu Nov 03 15:38:17 2016 +0000
+++ b/plugin/PiperVampPluginFactory.cpp	Fri Nov 04 14:16:01 2016 +0000
@@ -13,6 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
+#ifdef HAVE_PIPER
+
 #include "PiperVampPluginFactory.h"
 #include "PluginIdentifier.h"
 
@@ -167,6 +169,8 @@
     auto candidateLibraries =
         scan->getCandidateLibrariesFor(PluginScan::VampPlugin);
 
+    SVDEBUG << "INFO: Have " << candidates.size() << " candidate Vamp plugin libraries" << endl;
+        
     vector<string> from;
     for (const auto &c: candidateLibraries) {
         if (c.helperTag == tag) {
@@ -242,3 +246,4 @@
     }
 }
 
+#endif