From 1e90f550192afade0188f0f2e136074953468ea6 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 16 Jan 2023 23:59:10 +0100 Subject: [PATCH] Add a todo for invalid CLAP event parsing Currently these values are never -1, but they can be. --- src/wrapper/clap/wrapper.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wrapper/clap/wrapper.rs b/src/wrapper/clap/wrapper.rs index 48f6f881..af7eb8be 100644 --- a/src/wrapper/clap/wrapper.rs +++ b/src/wrapper/clap/wrapper.rs @@ -1469,6 +1469,7 @@ impl Wrapper

{ } else { None }, + // FIXME: These values are also allowed to be -1, we need to support that channel: event.channel as u8, note: event.key as u8, });