diff src/testApp.cpp @ 15:780def3a1f36

Changed to have any definition - re midi matcher bug fix - and bringing in start and stop functions
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 05 Feb 2012 22:08:50 +0000
parents cbadb9d05d29
children 680ba08e9925
line wrap: on
line diff
--- a/src/testApp.cpp	Sun Feb 05 09:58:56 2012 +0000
+++ b/src/testApp.cpp	Sun Feb 05 22:08:50 2012 +0000
@@ -86,6 +86,12 @@
 			eventMatcher.startPlaying();
 			printf("TIME OUT %i\n", ofGetElapsedTimeMillis());
 		}
+		
+		if ( m.getAddress() == "/stop" ){
+			printf("stop!\n");
+			eventMatcher.stopPlaying();
+		}
+		
 	}
 }