diff options
| -rw-r--r-- | vamphost/addons.make | 2 | ||||
| -rw-r--r-- | vamphost/src/testApp.cpp | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/vamphost/addons.make b/vamphost/addons.make index 8b13789..a66eaad 100644 --- a/vamphost/addons.make +++ b/vamphost/addons.make @@ -1 +1 @@ - +ofxXmlSettings diff --git a/vamphost/src/testApp.cpp b/vamphost/src/testApp.cpp index 5435f80..fabf712 100644 --- a/vamphost/src/testApp.cpp +++ b/vamphost/src/testApp.cpp @@ -26,6 +26,12 @@ void testApp::setup() { //string id="qm-tempotracker"; //string id="qm-barbeattracker"; + ofxXmlSettings xml; + if(xml.loadFile("settings.xml") ){ + string graph_dir=xml.getAttribute("Rotor","graph_dir","",0); + } + else cerr<<"Rotor: settings.xml not found, using defaults"<<endl; + string soname="vamp-example-plugins.so"; string id="percussiononsets"; |
