diff options
Diffstat (limited to 'vamphost')
| -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); |
