From f714b852416caeaa20c91c9b0336a7d067e28ddb Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 16 Jun 2013 15:17:38 +0100 Subject: unsuccessful attempt to wrap oni player --- 04_playobjects/src/testApp.cpp | 183 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 04_playobjects/src/testApp.cpp (limited to '04_playobjects/src/testApp.cpp') diff --git a/04_playobjects/src/testApp.cpp b/04_playobjects/src/testApp.cpp new file mode 100644 index 0000000..5683e1f --- /dev/null +++ b/04_playobjects/src/testApp.cpp @@ -0,0 +1,183 @@ +#include "testApp.h" + +//-------------------------------------------------------------- +void testApp::setup() { + + ofSetLogLevel(OF_LOG_NOTICE); + + verdana.loadFont(ofToDataPath("verdana.ttf"), 10); + + playing=0; + numDevices=2; + + string filename="test.xml"; //"TRSS_nesbitt_recordings.xml"; + + if( !XML.loadFile(filename) ){ + printf("unable to load recordings, check data/ folder\n"); + }else{ + if(XML.pushTag("TRSS")) { + int num=XML.getNumTags("rec"); + if(num) { + for (int i=0;i