aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-03-06 23:47:03 +0100
committercbdev <cb@cbcdn.com>2020-03-06 23:47:03 +0100
commit3a53a29df4c762a1ea3891be24615f74469b6be2 (patch)
tree6ac3516eefa029af5a537cf9dd2cd43330b5844f
parent1b3f7610d47ba5464e7aa2e16b5b1a27b7d0f5a3 (diff)
downloadmidimonster-3a53a29df4c762a1ea3891be24615f74469b6be2.tar.gz
midimonster-3a53a29df4c762a1ea3891be24615f74469b6be2.tar.bz2
midimonster-3a53a29df4c762a1ea3891be24615f74469b6be2.zip
Minor fixes
-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;