ardour/libs/surfaces
Caleb Potter 643342995d fixes issue where MCP controller strips got stranded switching banks
This commit fixes an issue where if your controller was currently on a
bank not near the first few tracks, and you then deleted tracks, the
controller bank buttons would appear unresponsive because of the
"if (initial >= sorted.size())" check in switch_banks().
This would occur when the difference between the _initial_bank and
whatever sorted.size() returns was greater than or equal to strip_cnt.
For example, if your _initial_bank was 48, your strip_cnt was 24 and you
had 24 tracks after the deletion, then the above conditional would evaluate
to true and exit out of switch_banks BEFORE actually switching the bank,
effectively stranding the controller unless you added enough tracks back.
2022-03-17 15:37:07 -06:00
..
cc121 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
contourdesign wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
control_protocol wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
faderport wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
faderport8 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
frontier wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
generic_midi wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
launch_control_xl wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
mackie fixes issue where MCP controller strips got stranded switching banks 2022-03-17 15:37:07 -06:00
maschine2 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
osc Fix solo control activation 2022-03-17 13:51:30 -07:00
push2 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
tranzport wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
us2400 wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
websockets wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
wiimote wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
wscript wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00