Mercurial > hg > beaglert
diff projects/audio_in_FFT/main.cpp @ 108:3068421c0737 ultra-staging
Merged default into ultra-staging
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 18 Aug 2015 00:35:15 +0100 |
parents | 3c3a1357657d |
children | 301dceb39ec8 |
line wrap: on
line diff
--- a/projects/audio_in_FFT/main.cpp Mon Jun 08 01:07:48 2015 +0100 +++ b/projects/audio_in_FFT/main.cpp Tue Aug 18 00:35:15 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) {