Mercurial > hg > vampy-host
changeset 46:f12b59c022a5
Minor tidy
author | Chris Cannam |
---|---|
date | Wed, 03 Dec 2014 18:22:28 +0000 |
parents | 22f64060ffb4 |
children | 1cb0ed230b71 |
files | PyPluginObject.cpp vampyhost.cpp |
diffstat | 2 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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<vector<float> >(); } }