Mercurial > hg > svcore
comparison plugin/PiperVampPluginFactory.cpp @ 1250:c2d66e3c83d0 piper
Some updates to accommodate adaptation for Sonic Annotator
author | Chris Cannam |
---|---|
date | Fri, 04 Nov 2016 14:39:15 +0000 |
parents | d45a16c232bd |
children | a99641535e02 |
comparison
equal
deleted
inserted
replaced
1249:d45a16c232bd | 1250:c2d66e3c83d0 |
---|---|
167 | 167 |
168 PluginScan *scan = PluginScan::getInstance(); | 168 PluginScan *scan = PluginScan::getInstance(); |
169 auto candidateLibraries = | 169 auto candidateLibraries = |
170 scan->getCandidateLibrariesFor(PluginScan::VampPlugin); | 170 scan->getCandidateLibrariesFor(PluginScan::VampPlugin); |
171 | 171 |
172 SVDEBUG << "INFO: Have " << candidates.size() << " candidate Vamp plugin libraries" << endl; | 172 SVDEBUG << "INFO: Have " << candidateLibraries.size() |
173 << " candidate Vamp plugin libraries" << endl; | |
173 | 174 |
174 vector<string> from; | 175 vector<string> from; |
175 for (const auto &c: candidateLibraries) { | 176 for (const auto &c: candidateLibraries) { |
176 if (c.helperTag == tag) { | 177 if (c.helperTag == tag) { |
177 string soname = QFileInfo(c.libraryPath).baseName().toStdString(); | 178 string soname = QFileInfo(c.libraryPath).baseName().toStdString(); |