Mercurial > hg > svcore
diff plugin/PiperVampPluginFactory.cpp @ 1378:b5728e69802b
Subrepo update
author | Chris Cannam |
---|---|
date | Tue, 21 Feb 2017 16:04:11 +0000 |
parents | 54fabf5aceb8 |
children | 87ae75da6527 |
line wrap: on
line diff
--- a/plugin/PiperVampPluginFactory.cpp Tue Feb 07 14:55:19 2017 +0000 +++ b/plugin/PiperVampPluginFactory.cpp Tue Feb 21 16:04:11 2017 +0000 @@ -28,7 +28,7 @@ #define CAPNP_LITE 1 #endif -#include "vamp-client/qt/AutoPlugin.h" +#include "vamp-client/qt/PiperAutoPlugin.h" #include "vamp-client/qt/ProcessQtTransport.h" #include "vamp-client/CapnpRRClient.h" @@ -123,10 +123,10 @@ return 0; } - SVDEBUG << "PiperVampPluginFactory: Creating Piper AutoPlugin for server " + SVDEBUG << "PiperVampPluginFactory: Creating PiperAutoPlugin for server " << m_origins[identifier] << ", identifier " << identifier << endl; - auto ap = new piper_vamp::client::AutoPlugin + auto ap = new piper_vamp::client::PiperAutoPlugin (m_origins[identifier].toStdString(), psd.pluginKey, float(inputSampleRate), @@ -229,7 +229,7 @@ piper_vamp::ListResponse resp; try { - resp = client.listPluginData(req); + resp = client.list(req); } catch (piper_vamp::client::ServerCrashed) { SVDEBUG << "PiperVampPluginFactory: Piper server crashed" << endl; errorMessage = QObject::tr