diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-04-21 15:10:13 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-04-21 15:10:13 +0000 |
commit | c72bf18bf472e665a51a8383b00eb21b40805d39 (patch) | |
tree | 78b30ca967d0f7bd9b1e0de79658da2e221de7ba /gtk2_ardour/midi_channel_selector.h | |
parent | 9c4cc26d775549e2815b184aed4c4948a9f69b53 (diff) |
* persisting/restoring track channel settings works now
git-svn-id: svn://localhost/ardour2/branches/3.0@3276 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_channel_selector.h')
-rw-r--r-- | gtk2_ardour/midi_channel_selector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index 901296903c..3562f5febe 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -41,7 +41,7 @@ protected: class MidiMultipleChannelSelector : public MidiChannelSelector { public: - MidiMultipleChannelSelector(uint16_t initial_selection = 1); + MidiMultipleChannelSelector(uint16_t initial_selection = 0xFFFF, int8_t force_channel = -1); virtual ~MidiMultipleChannelSelector(); /** @@ -56,6 +56,7 @@ public: sigc::signal<void, int8_t> force_channel_changed; const int8_t get_force_channel() const; + void set_force_channel(int8_t force_channel); protected: enum Mode { FILTERING_MULTIPLE_CHANNELS, |