diff examples/scope_analogue/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 1feb9c23ac57
line wrap: on
line diff
--- a/examples/scope_analogue/render.cpp	Fri May 27 13:58:20 2016 +0100
+++ b/examples/scope_analogue/render.cpp	Fri May 27 14:34:41 2016 +0100
@@ -3,7 +3,7 @@
 // frequency determined by their values
 // it then plots these on the oscilloscope
 
-#include <BeagleRT.h>
+#include <Bela.h>
 #include <cmath>
 #include <Scope.h>
 
@@ -12,7 +12,7 @@
 float gInverseSampleRate;
 float gPhase;
 
-bool setup(BeagleRTContext *context, void *userData)
+bool setup(BelaContext *context, void *userData)
 {
 
     // setup the scope with 3 channels at the audio sample rate
@@ -24,7 +24,7 @@
 	return true;
 }
 
-void render(BeagleRTContext *context, void *userData)
+void render(BelaContext *context, void *userData)
 {
 
 	for(unsigned int n = 0; n < context->audioFrames; n++) {
@@ -53,7 +53,7 @@
 	}
 }
 
-void cleanup(BeagleRTContext *context, void *userData)
+void cleanup(BelaContext *context, void *userData)
 {
 
 }