mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
LCXL: Make the pan fix nice again
This commit is contained in:
parent
c321bc82bb
commit
260e7ad5a9
3 changed files with 5 additions and 15 deletions
|
|
@ -879,9 +879,8 @@ LaunchControlXL::knob_pan(uint8_t n)
|
|||
}
|
||||
|
||||
|
||||
if (ac && check_pick_up_rev(knob, ac)) {
|
||||
DEBUG_TRACE (DEBUG::LaunchControlXL, string_compose ("knob->value: '%1'\n", (int) knob->value()));
|
||||
ac->set_value (ac->interface_to_internal ((127 - knob->value()) / 127.0), PBD::Controllable::UseGroup);
|
||||
if (ac && check_pick_up(knob, ac, true)) {
|
||||
ac->set_value (ac->interface_to_internal((knob->value() / 127.0), true), PBD::Controllable::UseGroup);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue