# HG changeset patch # User Chris Cannam # Date 1417630948 0 # Node ID f12b59c022a5896c78e4f8eeb7829a5d1f01549d # Parent 22f64060ffb4af7cec3808f30fad329a3b8a0139 Minor tidy diff -r 22f64060ffb4 -r f12b59c022a5 PyPluginObject.cpp --- a/PyPluginObject.cpp Wed Dec 03 10:40:41 2014 +0000 +++ b/PyPluginObject.cpp Wed Dec 03 18:22:28 2014 +0000 @@ -55,8 +55,6 @@ using namespace std; using namespace Vamp; -//!!! todo: conv errors - static PyPluginObject * getPluginObject(PyObject *pyPluginHandle) @@ -424,7 +422,7 @@ for (int c = 0; c < channels; ++c) { if ((int)data[c].size() != blockSize) { // cerr << "Wrong number of samples on channel " << c << ": expected " << blockSize << " (plugin's block size), got " << data[c].size() << endl; - PyErr_SetString(PyExc_TypeError, "Wrong number of samples"); + PyErr_SetString(PyExc_TypeError, "Wrong number of samples for process block"); return vector >(); } } diff -r 22f64060ffb4 -r f12b59c022a5 vampyhost.cpp --- a/vampyhost.cpp Wed Dec 03 10:40:41 2014 +0000 +++ b/vampyhost.cpp Wed Dec 03 18:22:28 2014 +0000 @@ -63,8 +63,6 @@ using namespace Vamp; using namespace Vamp::HostExt; -//!!! todo: conv errors - static PyObject * enumeratePlugins(PyObject *self, PyObject *) {