Mercurial > hg > beaglert
diff projects/filter_FIR/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 | 901d205d1a3c |
children | 3c3a1357657d |
line wrap: on
line diff
--- a/projects/filter_FIR/main.cpp Sat May 30 13:25:51 2015 -0500 +++ b/projects/filter_FIR/main.cpp Sun May 31 02:13:39 2015 -0500 @@ -12,7 +12,7 @@ #include <string> #include <getopt.h> #include <sndfile.h> // to load audio files -#include "../../include/RTAudio.h" +#include "../../include/BeagleRT.h" #include "SampleData.h" using namespace std; @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { - RTAudioSettings settings; // Standard audio settings + BeagleRTInitSettings settings; // Standard audio settings string fileName; // Name of the sample to load SampleData sampleData; // User define structure to pass data retrieved from file to render function