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/routing.c | |
parent | ac9182ff8a6c143ed5ea663f288ea83782e3119a (diff) | |
download | midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.tar.gz midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.tar.bz2 midimonster-6cedb806ca6c194ebfa842141be870595b0fd79d.zip |
Update comments
Diffstat (limited to 'core/routing.c')
-rw-r--r-- | core/routing.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/routing.c b/core/routing.c index 284569a..caaf512 100644 --- a/core/routing.c +++ b/core/routing.c @@ -122,7 +122,11 @@ MM_API int mm_channel_event(channel* c, channel_value v){ } //enqueue channel events - //FIXME this might lead to one channel being mentioned multiple times in an apply call + /* + * This might lead to one channel being mentioned multiple times in an apply call. + * That effect should not be eliminated as there are legitimate uses for one channel + * being set multiple times in one core iteration (e.g. for stateful layer selection messages) + */ memcpy(routing.events->channel + routing.events->n, routing.map[bucket][u].to, routing.map[bucket][u].destinations * sizeof(channel*)); for(p = 0; p < routing.map[bucket][u].destinations; p++){ routing.events->value[routing.events->n + p] = v; |