Fix MMC range 0..127 (libardour uses and 0x7f)
authorRobin Gareus <robin@gareus.org>
Wed, 17 Oct 2018 17:56:06 +0000 (19:56 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 17 Oct 2018 18:06:00 +0000 (20:06 +0200)
gtk2_ardour/rc_option_editor.cc

index 28a560879066c1a25140174402561c10a84ecd9a..08d55a8f0e95fcbfbf3f08abb5a49fab560fe149 100644 (file)
@@ -3316,7 +3316,7 @@ RCOptionEditor::RCOptionEditor ()
                     _("Inbound MMC device ID"),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::get_mmc_receive_device_id),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_mmc_receive_device_id),
-                    0, 128, 1, 10
+                    0, 127, 1, 10
                     ));
 
        add_option (_("Sync/MIDI"),
@@ -3325,7 +3325,7 @@ RCOptionEditor::RCOptionEditor ()
                     _("Outbound MMC device ID"),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::get_mmc_send_device_id),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_mmc_send_device_id),
-                    0, 128, 1, 10
+                    0, 127, 1, 10
                     ));