Mercurial > hg > beaglert
diff projects/analogDigitalDemo/main.cpp @ 52:a6d223473ea2 newapi
Updated examples for new API. tank_wars not yet updated; audio_in_FFT and oscillator_bank not working properly yet.
author | andrewm |
---|---|
date | Sun, 31 May 2015 02:13:39 -0500 |
parents | fbfeb5895efd |
children | 3c3a1357657d |
line wrap: on
line diff
--- a/projects/analogDigitalDemo/main.cpp Sat May 30 13:25:51 2015 -0500 +++ b/projects/analogDigitalDemo/main.cpp Sun May 31 02:13:39 2015 -0500 @@ -14,7 +14,7 @@ #include <libgen.h> #include <signal.h> #include <getopt.h> -#include "../../include/RTAudio.h" +#include "../../include/BeagleRT.h" #include <unistd.h> #include <stdlib.h> #include <fcntl.h> @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) { - RTAudioSettings settings; // Standard audio settings + BeagleRTInitSettings settings; // Standard audio settings float frequency = 1000.0; // Frequency of crossover struct option customOptions[] =