diff core/Midi.cpp @ 226:af1e662400fc mergingClockSync

Added argument to callback
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 13 Mar 2016 03:31:19 +0000
parents 97faaf985164
children a0a7f00cf98d
line wrap: on
line diff
--- a/core/Midi.cpp	Tue Mar 08 16:03:14 2016 +0000
+++ b/core/Midi.cpp	Sun Mar 13 03:31:19 2016 +0000
@@ -61,7 +61,7 @@
 				// done with the current message
 				// call the callback if available
 				if(isCallbackEnabled() == true){
-					messageReadyCallback(getNextChannelMessage());
+					messageReadyCallback(getNextChannelMessage(), callbackArg);
 				}
 				waitingForStatus = true;
 				writePointer++;