Mercurial > hg > beaglert
diff core/RTAudio.cpp @ 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 | 4255ecbb9bec 579c86316008 |
line wrap: on
line diff
--- a/core/RTAudio.cpp Tue May 05 17:28:00 2015 +0100 +++ b/core/RTAudio.cpp Fri May 08 11:12:13 2015 +0100 @@ -31,6 +31,7 @@ #include "../include/I2c_Codec.h" #include "../include/render.h" #include "../include/GPIOcontrol.h" +#include "../include/client.h" using namespace std; @@ -81,6 +82,7 @@ // // Returns 0 on success. + int BeagleRT_initAudio(RTAudioSettings *settings, void *userData) { rt_print_auto_init(1); @@ -184,7 +186,7 @@ settings->useAnalog ? settings->periodSize : 0, /* analog period size */ audioPeriodSize, analogSampleRate, audioSampleRate, - userData)) { + userData, settings)) { cout << "Couldn't initialise audio rendering\n"; return 1; }