diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-12-29 00:19:18 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-12-29 00:19:18 +0000 |
commit | cca4f22141d64afce82fd8851cde8eb8ce597c9f (patch) | |
tree | af288603d050a38a273763bc3fc70ba8dbf02192 /gtk2_ardour | |
parent | fa71e0e12acbe0d27a618b3cfe3fa6f98f6f64ff (diff) |
* fixed bug introduced in revision 3335: Hibyte lost in channel mask when restoring state from XML
git-svn-id: svn://localhost/ardour2/branches/3.0@4356 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/midi_channel_selector.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/midi_channel_selector.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_channel_selector.cc b/gtk2_ardour/midi_channel_selector.cc index 4415a65f65..1b5baff7d5 100644 --- a/gtk2_ardour/midi_channel_selector.cc +++ b/gtk2_ardour/midi_channel_selector.cc @@ -160,7 +160,7 @@ MidiMultipleChannelSelector::~MidiMultipleChannelSelector() } void -MidiMultipleChannelSelector::set_channel_mode(ChannelMode mode, uint8_t mask) +MidiMultipleChannelSelector::set_channel_mode(ChannelMode mode, uint16_t mask) { switch (mode) { case AllChannels: diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index e026c12325..a72bea0cf1 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -72,7 +72,7 @@ public: virtual ~MidiMultipleChannelSelector(); - void set_channel_mode(ARDOUR::ChannelMode mode, uint8_t mask); + void set_channel_mode(ARDOUR::ChannelMode mode, uint16_t mask); /** * @return each bit in the returned word represents a midi channel, eg. |