Update well-known ctrl: separate global and per band EQ enum

This commit is contained in:
Robin Gareus 2024-01-15 15:28:30 +01:00
parent f7d022e38c
commit 0fd1edd78e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
14 changed files with 94 additions and 93 deletions

View file

@ -1180,12 +1180,12 @@ LaunchControlXL::init_dm_callbacks()
first_selected_stripable()->mapped_control(EQ_Enable)->Changed.connect (stripable_connections,
MISSING_INVALIDATOR, boost::bind (&LaunchControlXL::init_knobs_and_buttons,this), lcxl);
}
if (first_selected_stripable()->mapped_control (EQ_Shape, 0)) {
first_selected_stripable()->mapped_control (EQ_Shape, 0)->Changed.connect (stripable_connections,
if (first_selected_stripable()->mapped_control (EQ_BandShape, 0)) {
first_selected_stripable()->mapped_control (EQ_BandShape, 0)->Changed.connect (stripable_connections,
MISSING_INVALIDATOR, boost::bind (&LaunchControlXL::init_buttons,this), lcxl);
}
if (first_selected_stripable()->mapped_control (EQ_Shape, 3)) {
first_selected_stripable()->mapped_control (EQ_Shape, 3)->Changed.connect (stripable_connections,
if (first_selected_stripable()->mapped_control (EQ_BandShape, 3)) {
first_selected_stripable()->mapped_control (EQ_BandShape, 3)->Changed.connect (stripable_connections,
MISSING_INVALIDATOR, boost::bind (&LaunchControlXL::init_buttons,this), lcxl);
}