Mercurial > hg > beaglert
diff projects/audio_in_FFT/main.cpp @ 67:472e892c6e41
Merge newapi into default
author | Andrew McPherson <a.mcpherson@qmul.ac.uk> |
---|---|
date | Fri, 17 Jul 2015 15:28:18 +0100 |
parents | 3c3a1357657d |
children | 301dceb39ec8 |
line wrap: on
line diff
--- a/projects/audio_in_FFT/main.cpp Sun Feb 08 00:20:01 2015 +0000 +++ b/projects/audio_in_FFT/main.cpp Fri Jul 17 15:28:18 2015 +0100 @@ -10,7 +10,7 @@ #include <libgen.h> #include <signal.h> #include <getopt.h> -#include "../../include/RTAudio.h" +#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 int fftSize = 64; // Size of the FFT, in samples struct option customOptions[] = @@ -46,7 +46,7 @@ // Set default settings BeagleRT_defaultSettings(&settings); - settings.useMatrix = 0; // No matrix usage by default + settings.useAnalog = 0; // No matrix usage by default // Parse command-line arguments while (1) {