comparison core/OSCServer.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 de37582ce6f3
children 421a69d42943
comparison
equal deleted inserted replaced
300:dbeed520b014 301:e4392164b458
19 } 19 }
20 20
21 void OSCServer::createAuxTasks(){ 21 void OSCServer::createAuxTasks(){
22 char name [30]; 22 char name [30];
23 sprintf (name, "OSCRecieveTask %i", port); 23 sprintf (name, "OSCRecieveTask %i", port);
24 OSCRecieveTask = BeagleRT_createAuxiliaryTask(OSCServer::checkMessages, BEAGLERT_AUDIO_PRIORITY-5, name, this, true); 24 OSCRecieveTask = Bela_createAuxiliaryTask(OSCServer::checkMessages, BEAGLERT_AUDIO_PRIORITY-5, name, this, true);
25 } 25 }
26 26
27 void OSCServer::messageCheck(){ 27 void OSCServer::messageCheck(){
28 if (socket.waitUntilReady(true, UDP_RECIEVE_TIMEOUT_MS)){ 28 if (socket.waitUntilReady(true, UDP_RECIEVE_TIMEOUT_MS)){
29 int msgLength = socket.read(&inBuffer, UDP_RECIEVE_MAX_LENGTH, false); 29 int msgLength = socket.read(&inBuffer, UDP_RECIEVE_MAX_LENGTH, false);