Mercurial > hg > vampy-host
diff vampyhost.cpp @ 29:7e7f2f7d9542
PyTypeConversions -> VectorConversion
author | Chris Cannam |
---|---|
date | Wed, 26 Nov 2014 10:56:23 +0000 |
parents | 1175e814954e |
children | f565f4b5cbaa |
line wrap: on
line diff
--- a/vampyhost.cpp Wed Nov 26 10:54:48 2014 +0000 +++ b/vampyhost.cpp Wed Nov 26 10:56:23 2014 +0000 @@ -56,7 +56,7 @@ #include "vamp-hostsdk/PluginInputDomainAdapter.h" #include "vamp-hostsdk/PluginLoader.h" -#include "PyTypeConversions.h" +#include "VectorConversion.h" #include "PyRealTime.h" #include <iostream> @@ -135,7 +135,7 @@ PluginLoader *loader = PluginLoader::getInstance(); vector<PluginLoader::PluginKey> plugins = loader->listPlugins(); - PyTypeConversions conv; + VectorConversion conv; return conv.PyValue_From_StringVector(plugins); } @@ -145,7 +145,7 @@ cerr << "vampyhost_getPluginPath" << endl; vector<string> path = PluginHostAdapter::getPluginPath(); - PyTypeConversions conv; + VectorConversion conv; return conv.PyValue_From_StringVector(path); } @@ -207,7 +207,7 @@ PluginLoader::PluginCategoryHierarchy category = loader->getPluginCategory(pluginKey); - PyTypeConversions conv; + VectorConversion conv; return conv.PyValue_From_StringVector(category); } @@ -441,7 +441,7 @@ float **inbuf = new float *[channels]; - PyTypeConversions typeConv; + VectorConversion typeConv; cerr << "here!" << endl; @@ -472,7 +472,7 @@ cerr << "no no no, here!" << endl; - PyTypeConversions conv; + VectorConversion conv; PyObject *pyFs = PyDict_New();