aboutsummaryrefslogtreecommitdiffhomepage
path: root/osc.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2017-07-05 00:05:13 +0200
committercbdev <cb@cbcdn.com>2017-07-05 00:05:13 +0200
commit23863fc5c5c994b0044f5d6dce62a2641f07c4f5 (patch)
treee0b3a0a542944f914dc107c9b41c2743daff8241 /osc.h
parente34bca6f01768ebce852f43d7ec55fc18126555b (diff)
downloadmidimonster-23863fc5c5c994b0044f5d6dce62a2641f07c4f5.tar.gz
midimonster-23863fc5c5c994b0044f5d6dce62a2641f07c4f5.tar.bz2
midimonster-23863fc5c5c994b0044f5d6dce62a2641f07c4f5.zip
Implement OSC transmission
Diffstat (limited to 'osc.h')
-rw-r--r--osc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/osc.h b/osc.h
index 8fcad71..5938f12 100644
--- a/osc.h
+++ b/osc.h
@@ -2,7 +2,8 @@
#include <sys/types.h>
#include <sys/socket.h>
-#define OSC_RECV_BUF 4096
+#define OSC_RECV_BUF 8192
+#define OSC_XMIT_BUF 8192
int init();
static int backend_configure(char* option, char* value);
@@ -34,7 +35,6 @@ typedef struct /*_osc_channel*/ {
char* path;
size_t params;
size_t param_index;
- size_t* param;
uint8_t mark;
osc_parameter_type type;
@@ -46,9 +46,10 @@ typedef struct /*_osc_channel*/ {
typedef struct /*_osc_instance_data*/ {
size_t channels;
osc_channel* channel;
- uint8_t output;
char* root;
socklen_t dest_len;
struct sockaddr_storage dest;
int fd;
+ uint8_t learn;
+ uint16_t forced_rport;
} osc_instance;