diff src/testApp.cpp @ 22:24c413f0f2c5

rescue mechanism added
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 12 Feb 2012 22:25:14 +0000
parents 4f6006cac9de
children 02f659277346
line wrap: on
line diff
--- a/src/testApp.cpp	Sun Feb 12 01:07:45 2012 +0000
+++ b/src/testApp.cpp	Sun Feb 12 22:25:14 2012 +0000
@@ -97,6 +97,10 @@
 			eventMatcher.synchroniser.setPlayingRatio(ratio, time);
 		}
 		
+		if ( m.getAddress() == "/rescue" ){
+			printf("rescue!\n");
+			eventMatcher.rescue();
+		}
 	}
 }