Mercurial > hg > beaglert
diff projects/basic/main.cpp @ 45:579c86316008 newapi
Major API overhaul. Moved to a single data structure for handling render functions. Functionally, generally similar except for scheduling within PRU loop function, which now uses interrupts from the PRU rather than polling. This requires an updated kernel.
author | andrewm |
---|---|
date | Thu, 28 May 2015 14:35:55 -0400 |
parents | ad5cd8dd99b3 |
children | 3c3a1357657d |
line wrap: on
line diff
--- a/projects/basic/main.cpp Wed May 13 12:23:37 2015 +0100 +++ b/projects/basic/main.cpp Thu May 28 14:35:55 2015 -0400 @@ -10,7 +10,7 @@ #include <libgen.h> #include <signal.h> #include <getopt.h> -#include "../../include/RTAudio.h" +#include "../../include/BeagleRT.h" using namespace std; @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { - RTAudioSettings settings; // Standard audio settings + BeagleRTInitSettings settings; // Standard audio settings float frequency = 440.0; // Frequency of oscillator struct option customOptions[] =