diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-12 05:27:58 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-12 05:27:58 +0200 |
commit | f1a0c283e4fe5227fa9a0e95c2e8324475e12d01 (patch) | |
tree | 1a38cef3b302c1af1f40ff58b8c56bc618670586 /apps/osc.h | |
parent | done data hangling for midi works now (diff) |
osc messages to trigger language switch are implemented
Diffstat (limited to 'apps/osc.h')
-rw-r--r-- | apps/osc.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -26,12 +26,21 @@ #include "lo/lo.h" #include <poll.h> +#include "slist.h" #include "mixer.h" typedef struct { lo_server server_; + slist_t done_data_; } osc_t; +typedef struct { + osc_t* self_; + int state_; + char* lang_; + lo_message msg_; +} osc_done_data_t; + int osc_init(osc_t* o, const char* port); int osc_get_poll_fd_count(osc_t* o); int osc_get_poll_fds(osc_t* o, struct pollfd *pfds, int npfds); |