diff options
author | cbdev <cb@cbcdn.com> | 2017-06-05 18:53:41 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2017-06-05 18:53:41 +0200 |
commit | 40e123db7713b188162cd94d935f7a395405567a (patch) | |
tree | f745b15d41af6a38b675bdbe2de6473657c7e212 /artnet.h | |
parent | ed55916e772264dc8278fc8c96d4139aec31e89e (diff) | |
download | midimonster-40e123db7713b188162cd94d935f7a395405567a.tar.gz midimonster-40e123db7713b188162cd94d935f7a395405567a.tar.bz2 midimonster-40e123db7713b188162cd94d935f7a395405567a.zip |
Core select loop
Diffstat (limited to 'artnet.h')
-rw-r--r-- | artnet.h | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -10,10 +10,23 @@ static int artnet_handle(size_t num, int* fd, void** data); static int artnet_start(); static int artnet_shutdown(); -#define MODE_OUTPUT 1 - typedef struct /*_artnet_instance_model*/ { uint8_t net; uint8_t uni; uint8_t mode; + char* dest; } artnet_instance_data; + +enum { + output = 1, + mark = 2 +}; + +typedef struct /*_artnet_universe_model*/ { + uint8_t net; + uint8_t uni; + uint8_t flags; + uint8_t last_frame; + uint8_t data[512]; + uint8_t mask[512]; +} artnet_universe; |