diff core/Scope.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 733006bdbca2
children 421a69d42943
line wrap: on
line diff
--- a/core/Scope.cpp	Fri May 27 13:58:20 2016 +0100
+++ b/core/Scope.cpp	Fri May 27 14:34:41 2016 +0100
@@ -31,8 +31,8 @@
 	socket.setPort(SCOPE_UDP_PORT);
 
 	// setup the auxiliary tasks
-	scopeTriggerTask = BeagleRT_createAuxiliaryTask(Scope::triggerTask, BEAGLERT_AUDIO_PRIORITY-2, "scopeTriggerTask", this, true);
-	scopeSendBufferTask = BeagleRT_createAuxiliaryTask(Scope::sendBufferTask, BEAGLERT_AUDIO_PRIORITY-1, "scopeSendBufferTask", this);
+	scopeTriggerTask = Bela_createAuxiliaryTask(Scope::triggerTask, BEAGLERT_AUDIO_PRIORITY-2, "scopeTriggerTask", this, true);
+	scopeSendBufferTask = Bela_createAuxiliaryTask(Scope::sendBufferTask, BEAGLERT_AUDIO_PRIORITY-1, "scopeSendBufferTask", this);
 
     // send an OSC message to address /scope-setup
     // then wait 1 second for a reply on /scope-setup-reply 
@@ -140,7 +140,7 @@
 }
 
 void Scope::scheduleSendBufferTask(){
-    BeagleRT_scheduleAuxiliaryTask(scopeSendBufferTask);
+    Bela_scheduleAuxiliaryTask(scopeSendBufferTask);
 }
 
 bool Scope::triggered(){