diff projects/basic_network/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 ad5cd8dd99b3
children
line wrap: on
line diff
--- a/projects/basic_network/main.cpp	Mon Jun 15 18:16:00 2015 +0100
+++ b/projects/basic_network/main.cpp	Wed Jul 15 12:10:51 2015 +0100
@@ -10,8 +10,8 @@
 #include <libgen.h>
 #include <signal.h>
 #include <getopt.h>
-#include "../../include/RTAudio.h"
 #include <unistd.h>
+#include <BeagleRT.h>
 
 using namespace std;
 
@@ -34,8 +34,8 @@
 
 int main(int argc, char *argv[])
 {
-	RTAudioSettings settings;	// Standard audio settings
-	float frequency = 440.0;	// Frequency of oscillator
+	BeagleRTInitSettings settings;	// Standard audio settings
+	float frequency = 440.0;		// Frequency of oscillator
 
 	struct option customOptions[] =
 	{