aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--backends/sacn.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 124d6b0..2a71b3a 100644
--- a/README.md
+++ b/README.md
@@ -187,7 +187,8 @@ dpkg -i <file>.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;