Mercurial > hg > beaglert
diff examples/osc/render.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 | dbeed520b014 |
children | db2fe4e1b88e |
line wrap: on
line diff
--- a/examples/osc/render.cpp Fri May 27 13:58:20 2016 +0100 +++ b/examples/osc/render.cpp Fri May 27 14:34:41 2016 +0100 @@ -1,4 +1,4 @@ -#include <BeagleRT.h> +#include <Bela.h> #include <OSCServer.h> #include <OSCClient.h> @@ -21,7 +21,7 @@ } -bool setup(BeagleRTContext *context, void *userData) +bool setup(BelaContext *context, void *userData) { // setup the OSC server to recieve on port 7562 oscServer.setup(7562); @@ -48,7 +48,7 @@ return true; } -void render(BeagleRTContext *context, void *userData) +void render(BelaContext *context, void *userData) { // recieve OSC messages, parse them, and send back an acknowledgment while (oscServer.messageWaiting()){ @@ -57,7 +57,7 @@ } } -void cleanup(BeagleRTContext *context, void *userData) +void cleanup(BelaContext *context, void *userData) { }