Mercurial > hg > vampy
diff pyvamp-main.cpp @ 6:e1b508f2f914
Added support to memory buffers to be used with NumPy (and some rationalisation of code)
author | fazekasgy |
---|---|
date | Wed, 19 Mar 2008 16:02:29 +0000 |
parents | 134313c59d82 |
children | a4c955e9a70b |
line wrap: on
line diff
--- a/pyvamp-main.cpp Fri Mar 14 12:09:34 2008 +0000 +++ b/pyvamp-main.cpp Wed Mar 19 16:02:29 2008 +0000 @@ -61,7 +61,7 @@ using std::string; using std::vector; -volatile bool mutex = false; +//volatile bool mutex = false; static int adinstcount; class PyPluginAdapter : public Vamp::PluginAdapterBase @@ -149,7 +149,7 @@ scanner = PyPlugScanner::getInstance(); pyPath=scanner->getAllValidPath(); //add this as extra path for development - pyPath.push_back("/Users/Shared/Development/vamp-experiments"); + //pyPath.push_back("/Users/Shared/Development/vamp-experiments"); scanner->setPath(pyPath); pyPlugs = scanner->getPyPlugs(); cerr << "Found " << pyPlugs.size() << " Scripts ...OK" << endl; @@ -161,6 +161,7 @@ adapters.push_back( new PyPluginAdapter(pyPlugs[i],pyInstances[i])); } haveScannedPlugins=true; + } cerr << "Accessing adapter index: " << index << " (adapters: " << adapters.size() << ")" << endl;