diff options
| author | Comment <tim@gray.(none)> | 2013-05-27 00:23:23 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-05-27 00:23:23 +0100 |
| commit | 4624bbd9628deef8a567e499752fd2215ea5a3d3 (patch) | |
| tree | 83a09a40d495379cad33ed9c8f74ecff1a9d4269 | |
| parent | bfabff566fb0a13b7564f776831535cfedf7df8c (diff) | |
plugin switching
| -rw-r--r-- | vamphost/src/ofxVamphost.cpp | 1 | ||||
| -rw-r--r-- | vamphost/src/testApp.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
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); |
