diff vamp-client/AutoPlugin.h @ 101:8c449824e08d

Parameterise process name
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 14 Oct 2016 16:22:32 +0100
parents f55631599988
children d74dfc11927c
line wrap: on
line diff
--- a/vamp-client/AutoPlugin.h	Fri Oct 14 12:46:38 2016 +0100
+++ b/vamp-client/AutoPlugin.h	Fri Oct 14 16:22:32 2016 +0100
@@ -13,11 +13,12 @@
 class AutoPlugin : public Vamp::Plugin
 {
 public:
-    AutoPlugin(std::string pluginKey,
+    AutoPlugin(std::string serverName,
+	       std::string pluginKey,
 	       float inputSampleRate,
 	       int adapterFlags) :
 	Vamp::Plugin(inputSampleRate),
-	m_transport("../bin/piper-vamp-server"), //!!!*£*$&"$*"
+	m_transport(serverName),
 	m_client(&m_transport)
     {
 	LoadRequest req;