From 23863fc5c5c994b0044f5d6dce62a2641f07c4f5 Mon Sep 17 00:00:00 2001 From: cbdev Date: Wed, 5 Jul 2017 00:05:13 +0200 Subject: Implement OSC transmission --- osc.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'osc.h') diff --git a/osc.h b/osc.h index 8fcad71..5938f12 100644 --- a/osc.h +++ b/osc.h @@ -2,7 +2,8 @@ #include #include -#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; -- cgit v1.2.3