From 4624bbd9628deef8a567e499752fd2215ea5a3d3 Mon Sep 17 00:00:00 2001 From: Comment Date: Mon, 27 May 2013 00:23:23 +0100 Subject: plugin switching --- vamphost/src/ofxVamphost.cpp | 1 + vamphost/src/testApp.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'vamphost/src') diff --git a/vamphost/src/ofxVamphost.cpp b/vamphost/src/ofxVamphost.cpp index 4a8ade6..e5ef92b 100644 --- a/vamphost/src/ofxVamphost.cpp +++ b/vamphost/src/ofxVamphost.cpp @@ -32,6 +32,7 @@ int Vamphost::init(const int &_channels,const int &_rate,const int &_outputNo,co rate=_rate; outputNo=_outputNo; output=_output; + init(); } int Vamphost::init(int whichplugin){ key = list[whichplugin]; diff --git a/vamphost/src/testApp.cpp b/vamphost/src/testApp.cpp index d269c11..ebd6c1f 100644 --- a/vamphost/src/testApp.cpp +++ b/vamphost/src/testApp.cpp @@ -31,7 +31,7 @@ void testApp::setup() { string soname="vamp-example-plugins.so"; string id="percussiononsets"; - whichplugin=5; + whichplugin=10; int bufferSize = vamphost.init(whichplugin,channels,rate,outputNo); -- cgit v1.2.3