Mercurial > hg > beaglert
comparison projects/samples/main.cpp @ 56:3c3a1357657d newapi
Further API update to name three primary functions setup(), render() and cleanup(). Changed include paths so now can #include <BeagleRT.h>. Removed stale pru_rtaudio.bin file as this is now done as pru_rtaudio_bin.h. Updated examples to new API and fixed minor compiler warnings along the way. Network example needs further attention to compile.
| author | andrewm | 
|---|---|
| date | Wed, 15 Jul 2015 12:10:51 +0100 | 
| parents | a6d223473ea2 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 55:41d24dba6b74 | 56:3c3a1357657d | 
|---|---|
| 10 #include <libgen.h> | 10 #include <libgen.h> | 
| 11 #include <signal.h> | 11 #include <signal.h> | 
| 12 #include <string> | 12 #include <string> | 
| 13 #include <getopt.h> | 13 #include <getopt.h> | 
| 14 #include <sndfile.h> // to load audio files | 14 #include <sndfile.h> // to load audio files | 
| 15 #include "../../include/BeagleRT.h" | 15 | 
| 16 #include <BeagleRT.h> | |
| 16 #include "SampleData.h" | 17 #include "SampleData.h" | 
| 17 | 18 | 
| 18 using namespace std; | 19 using namespace std; | 
| 19 | 20 | 
| 20 // Load samples from file | 21 // Load samples from file | 
