diff options
author | cbdev <cb@cbcdn.com> | 2021-11-14 09:00:12 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-11-14 09:00:12 +0100 |
commit | 6cedb806ca6c194ebfa842141be870595b0fd79d (patch) | |
tree | 167fef534b04a936d0bc2bf97e871d76458cf680 /core/backend.c | |
parent | ac9182ff8a6c143ed5ea663f288ea83782e3119a (diff) | |
download | midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.tar.gz midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.tar.bz2 midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.zip |
Update comments
Diffstat (limited to 'core/backend.c')
-rw-r--r-- | core/backend.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/backend.c b/core/backend.c index 93ac8fa..6a25534 100644 --- a/core/backend.c +++ b/core/backend.c @@ -87,7 +87,10 @@ int backends_notify(size_t nev, channel** c, channel_value* v){ } } - //TODO eliminate duplicates + /* + * Do not eliminate duplicates here. There are legitimate uses for a channel occuring multiple times + * in one loop iteration, e.g. stateful OSC layer selectors. + */ DBGPF("Calling handler for instance %s with %" PRIsize_t " events", c[u]->instance->name, n - u); rv |= c[u]->instance->backend->handle(c[u]->instance, n - u, c + u, v + u); } |