diff core/Midi.cpp @ 301:e4392164b458 prerelease

RENAMED BeagleRT to Bela AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, scripts probably not working
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 27 May 2016 14:34:41 +0100
parents a0a7f00cf98d
children
line wrap: on
line diff
--- a/core/Midi.cpp	Fri May 27 13:58:20 2016 +0100
+++ b/core/Midi.cpp	Fri May 27 14:34:41 2016 +0100
@@ -92,8 +92,8 @@
 
 void Midi::staticConstructor(){
 	staticConstructed = true;
-	midiInputTask = BeagleRT_createAuxiliaryTask(Midi::midiInputLoop, 50, "MidiInput");
-	midiOutputTask = BeagleRT_createAuxiliaryTask(Midi::midiOutputLoop, 50, "MidiOutupt");
+	midiInputTask = Bela_createAuxiliaryTask(Midi::midiInputLoop, 50, "MidiInput");
+	midiOutputTask = Bela_createAuxiliaryTask(Midi::midiOutputLoop, 50, "MidiOutupt");
 }
 
 Midi::~Midi(){}
@@ -176,7 +176,7 @@
 		return -1;
 	} else {
 		printf("Reading from Midi port %d\n", port);
-		BeagleRT_scheduleAuxiliaryTask(midiInputTask);
+		Bela_scheduleAuxiliaryTask(midiInputTask);
 		return 1;
 	}
 }
@@ -188,7 +188,7 @@
 		return -1;
 	} else {
 		printf("Writing to Midi port %d\n", port);
-		BeagleRT_scheduleAuxiliaryTask(midiOutputTask);
+		Bela_scheduleAuxiliaryTask(midiOutputTask);
 		return 1;
 	}
 }