summaryrefslogtreecommitdiff
path: root/libs/surfaces/faderport8/faderport8.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/faderport8/faderport8.h')
-rw-r--r--libs/surfaces/faderport8/faderport8.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/surfaces/faderport8/faderport8.h b/libs/surfaces/faderport8/faderport8.h
index c3c62735eb..4058ea248b 100644
--- a/libs/surfaces/faderport8/faderport8.h
+++ b/libs/surfaces/faderport8/faderport8.h
@@ -156,7 +156,7 @@ private:
void assign_stripables (bool select_only = false);
void set_periodic_display_mode (FP8Strip::DisplayMode);
- void assign_strips (bool reset_bank);
+ void assign_strips ();
void bank (bool down, bool page);
void move_selected_into_view ();
void select_prev_next (bool next);
@@ -173,7 +173,10 @@ private:
void toggle_preset_param_mode ();
void bank_param (bool down, bool page);
/* bank offsets */
- int _channel_off;
+ int get_channel_off (FP8Types::MixMode m) const { return _channel_off [m]; }
+ void set_channel_off (FP8Types::MixMode m, int off) {_channel_off [m] = off ; }
+
+ int _channel_off[FP8Types::MixModeMax + 1];
int _plugin_off;
int _parameter_off;