From 6cedb806ca6c194ebfa842141be870595b0fd79d Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 14 Nov 2021 09:00:12 +0100 Subject: Update comments --- core/backend.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core/backend.c') 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); } -- cgit v1.2.3