From 3a53a29df4c762a1ea3891be24615f74469b6be2 Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 6 Mar 2020 23:47:03 +0100 Subject: Minor fixes --- README.md | 3 ++- backends/sacn.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 124d6b0..2a71b3a 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,8 @@ dpkg -i .deb ### Building from source To build the MIDIMonster directly from the sources, you'll need some libraries that provide -support for the protocols to translate. +support for the protocols to translate. When building from source, you can also to exclude +backends (for example, if you don't need them or don't want to install their prerequisites). * `libasound2-dev` (for the ALSA MIDI backend) * `libevdev-dev` (for the evdev backend) diff --git a/backends/sacn.c b/backends/sacn.c index 6c08b5a..54cc7b5 100644 --- a/backends/sacn.c +++ b/backends/sacn.c @@ -523,6 +523,7 @@ static int sacn_handle(size_t num, managed_fd* fds){ } //check for keepalive frames, synthesize frames if necessary + global_cfg.next_frame = 0; for(u = 0; u < global_cfg.fds; u++){ for(c = 0; c < global_cfg.fd[u].universes; c++){ synthesize_delta = timestamp - global_cfg.fd[u].universe[c].last_frame; -- cgit v1.2.3