From 1ffdeed6aedb75809255050261af16849cad2258 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 20 Jun 2013 18:25:10 +0100 Subject: very nearly good --- 06_performance/src/testApp.cpp | 73 +++++++++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 22 deletions(-) (limited to '06_performance/src/testApp.cpp') diff --git a/06_performance/src/testApp.cpp b/06_performance/src/testApp.cpp index 6bc31a7..9bba414 100644 --- a/06_performance/src/testApp.cpp +++ b/06_performance/src/testApp.cpp @@ -160,7 +160,7 @@ void testApp::setup(){ for (i=0;i path; + explode(m.getAddress(),'/', back_inserter(path)); + + + + if (path.size()>1) { + string type=path[1]; + int channel=ofToInt(path[2])-1; + int data=m.getArgAsInt32(0); + + cerr<<"type: "< -1)&&videoclips.size()>channel) { + if (data>0) { + cerr<<"playing video "< -1)&&narrator.getNumClips()>channel) { + if (data>0) { + cerr<<"playing narrator "<