changeset 475:faa5f58c71af prerelease

Headers
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 20 Jun 2016 20:39:00 +0100
parents efc9a9f8e63d
children 838a4a4a8580
files include/OSCServer.h include/Scope.h
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/include/OSCServer.h	Mon Jun 20 20:38:46 2016 +0100
+++ b/include/OSCServer.h	Mon Jun 20 20:39:00 2016 +0100
@@ -7,8 +7,8 @@
 #include <Bela.h>
 #include <queue>
 
-#define UDP_RECIEVE_TIMEOUT_MS 20
-#define UDP_RECIEVE_MAX_LENGTH 16384
+#define UDP_RECEIVE_TIMEOUT_MS 20
+#define UDP_RECEIVE_MAX_LENGTH 16384
 
 class OSCServer{
     public:
@@ -27,20 +27,20 @@
         
         // if there are OSC messages waiting, decode and queue them
         // not audio-thread safe!
-        void recieveMessageNow(int timeout);
+        void receiveMessageNow(int timeout);
         
     private:
         int port;
         UdpServer socket;
 
-        AuxiliaryTask OSCRecieveTask;
+        AuxiliaryTask OSCReceiveTask;
         
         void createAuxTasks();
         void messageCheck();
         
         static void checkMessages(void*);
         
-        int inBuffer[UDP_RECIEVE_MAX_LENGTH];
+        int inBuffer[UDP_RECEIVE_MAX_LENGTH];
         std::queue<oscpkt::Message> inQueue;
         oscpkt::Message poppedMessage;
         oscpkt::PacketReader pr;
--- a/include/Scope.h	Mon Jun 20 20:38:46 2016 +0100
+++ b/include/Scope.h	Mon Jun 20 20:39:00 2016 +0100
@@ -6,7 +6,7 @@
 #include <OSCClient.h>
 #include <stdarg.h>
 
-#define OSC_RECIEVE_PORT 8675
+#define OSC_RECEIVE_PORT 8675
 #define OSC_SEND_PORT 8676
 #define SCOPE_UDP_PORT 8677