diff include/render.h @ 24:ad5cd8dd99b3 bbb_network

UDP communication in place, pre-alpha
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 08 May 2015 11:12:13 +0100
parents c98863e63174
children
line wrap: on
line diff
--- a/include/render.h	Tue May 05 17:28:00 2015 +0100
+++ b/include/render.h	Fri May 08 11:12:13 2015 +0100
@@ -10,8 +10,10 @@
 
 // uint types
 #include <stdint.h>
-#include "../include/Utilities.h"
-#include "../include/digital_gpio_mapping.h"
+#include "Utilities.h"
+#include "digital_gpio_mapping.h"
+#include "RTAudioSettings.h"
+
 // Mappings from pin numbers on PCB to actual DAC channels
 // This gives the DAC and ADC connectors the same effective pinout
 #define DAC_PIN0	6
@@ -41,7 +43,7 @@
 		  	   	   	   int numAnalogFramesPerPeriod,
 					   int numAudioFramesPerPeriod,
 					   float analogSampleRate, float audioSampleRate,
-					   void *userData);
+					   void *userData, RTAudioSettings *settings);
 
 void render(int numAnalogFrames, int numAudioFrames, int numDigitalFrames, float *audioIn, float *audioOut,
 			float *analogIn, float *analogOut, uint32_t *digital);