merge (squash) with scenechange topic branch to provide MIDI-driven scene change...
[ardour.git] / libs / midi++2 / midi++ / channel.h
index 02c16e67297cf2f2198a3b8fea06121689264379..f3ec434ca5008d0338ca2188619626d3e2921a66 100644 (file)
@@ -42,7 +42,7 @@ class LIBMIDIPP_API Channel : public PBD::ScopedConnectionList {
        Port &midi_port()           { return _port; }
        byte channel()                  { return _channel_number; }
        byte program()                  { return _program_number; }
-       byte bank()                     { return _bank_number; }
+       unsigned short bank()           { return _bank_number; }
        byte pressure ()                { return _chanpress; }
        byte poly_pressure (byte n)     { return _polypress[n]; }
 
@@ -117,7 +117,7 @@ class LIBMIDIPP_API Channel : public PBD::ScopedConnectionList {
 
        /* Current channel values */
        byte               _channel_number;
-       byte               _bank_number;
+       unsigned short     _bank_number;
        byte               _program_number;
        byte               _rpn_msb;
        byte               _rpn_lsb;