1
0
Fork 0

Comment on the CLAP gesture handling

This commit is contained in:
Robbert van der Helm 2022-03-11 13:27:23 +01:00
parent 7339e8e956
commit f98ba70764

View file

@ -663,6 +663,9 @@ impl<P: ClapPlugin> Wrapper<P> {
OutputParamChangeType::Normal => {
CLAP_EVENT_IS_LIVE | CLAP_EVENT_SHOULD_RECORD
}
// XXX: Apparently you should have `CLAP_EVENT_SHOULD_RECORD` here, even if
// we're repeating old values. This parameter gesture handling in CLAP
// is currently a bit weird and error prone.
OutputParamChangeType::BeginGesture => {
CLAP_EVENT_IS_LIVE | CLAP_EVENT_SHOULD_RECORD | CLAP_EVENT_BEGIN_ADJUST
}