diff include/OSCServer.h @ 475:faa5f58c71af prerelease

Headers
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 20 Jun 2016 20:39:00 +0100
parents e4392164b458
children
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;