diff options
author | cbdev <cb@cbcdn.com> | 2020-03-05 23:46:08 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-03-05 23:46:08 +0100 |
commit | 335196b3d3c80ee4bbe0985fd9a1f8ab5464a27c (patch) | |
tree | 42644762fce7233a2fcc4198e0fb44160f5b04e5 /backends/artnet.h | |
parent | 90b5655a6eb3837ad6f984ce4ffcd3e9aa7480ce (diff) | |
download | midimonster-335196b3d3c80ee4bbe0985fd9a1f8ab5464a27c.tar.gz midimonster-335196b3d3c80ee4bbe0985fd9a1f8ab5464a27c.tar.bz2 midimonster-335196b3d3c80ee4bbe0985fd9a1f8ab5464a27c.zip |
Fix artnet rate limiting
Diffstat (limited to 'backends/artnet.h')
-rw-r--r-- | backends/artnet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/artnet.h b/backends/artnet.h index aac73fe..d83999d 100644 --- a/backends/artnet.h +++ b/backends/artnet.h @@ -20,7 +20,8 @@ static int artnet_shutdown(size_t n, instance** inst); #define ARTNET_KEEPALIVE_INTERVAL 1000 //limit transmit rate to at most 44 packets per second (1000/44 ~= 22) -#define ARTNET_FRAME_TIMEOUT 20 +#define ARTNET_FRAME_TIMEOUT 15 +#define ARTNET_SYNTHESIZE_MARGIN 10 #define MAP_COARSE 0x0200 #define MAP_FINE 0x0400 |