1
0
Fork 0

Add a todo for invalid CLAP event parsing

Currently these values are never -1, but they can be.
This commit is contained in:
Robbert van der Helm 2023-01-16 23:59:10 +01:00
parent baca2431c9
commit 1e90f55019

View file

@ -1469,6 +1469,7 @@ impl<P: ClapPlugin> Wrapper<P> {
} else { } else {
None None
}, },
// FIXME: These values are also allowed to be -1, we need to support that
channel: event.channel as u8, channel: event.channel as u8,
note: event.key as u8, note: event.key as u8,
}); });