diff projects/tank_wars/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 fbfeb5895efd
children 8d80eda512cd
line wrap: on
line diff
--- a/projects/tank_wars/main.cpp	Mon Jun 15 18:16:00 2015 +0100
+++ b/projects/tank_wars/main.cpp	Wed Jul 15 12:10:51 2015 +0100
@@ -11,7 +11,7 @@
 #include <signal.h>
 #include <getopt.h>
 #include <sndfile.h>
-#include "../../include/RTAudio.h"
+#include <BeagleRT.h>
 
 extern int gScreenFramesPerSecond;
 
@@ -77,7 +77,7 @@
 
 int main(int argc, char *argv[])
 {
-	RTAudioSettings settings;	// Standard audio settings
+	BeagleRTInitSettings settings;	// Standard audio settings
 	string musicFileName = "music.wav";
 	string soundBoomFileName = "boom.wav";