aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backends/sacn.c2
-rw-r--r--backends/visca.c1
-rw-r--r--midimonster.c6
3 files changed, 5 insertions, 4 deletions
diff --git a/backends/sacn.c b/backends/sacn.c
index 0ea7b58..e395ae2 100644
--- a/backends/sacn.c
+++ b/backends/sacn.c
@@ -385,7 +385,7 @@ static int sacn_set(instance* inst, size_t num, channel** c, channel_value* v){
//send packet if required
if(mark){
- //find output instance data
+ //find output control data for the instance
for(u = 0; u < global_cfg.fd[data->fd_index].universes; u++){
if(global_cfg.fd[data->fd_index].universe[u].universe == data->uni){
break;
diff --git a/backends/visca.c b/backends/visca.c
index 2e82515..9f398a2 100644
--- a/backends/visca.c
+++ b/backends/visca.c
@@ -241,6 +241,7 @@ static size_t ptz_set_relmove(instance* inst, channel* c, channel_value* v, uint
}
//set stored axis speed
+ //TODO find a way to do relative axis speed via speed_factor, without overwriting a set absolute speed
msg[4] = data->panspeed;
msg[5] = data->tiltspeed;
diff --git a/midimonster.c b/midimonster.c
index 3cc9719..3849953 100644
--- a/midimonster.c
+++ b/midimonster.c
@@ -4,10 +4,10 @@
#include <errno.h>
#include <time.h>
#ifndef _WIN32
-#include <sys/select.h>
-#define MM_API __attribute__((visibility("default")))
+ #include <sys/select.h>
+ #define MM_API __attribute__((visibility("default")))
#else
-#define MM_API __attribute__((dllexport))
+ #define MM_API __attribute__((dllexport))
#endif
#define BACKEND_NAME "core"
#define MM_SWAP_LIMIT 20