From 0fb9c79d8d95d0248b2b0d34663a79eda316dde3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 25 Jul 2010 23:55:45 +0000 Subject: [PATCH] Patch from petem to initialise inbound MMC device ID to 0x7f. Fixes #2853. git-svn-id: svn://localhost/ardour2/branches/3.0@7496 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/rc_configuration_vars.h | 2 +- libs/midi++2/mmc.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h index f8d2c9500d..8879f2720a 100644 --- a/libs/ardour/ardour/rc_configuration_vars.h +++ b/libs/ardour/ardour/rc_configuration_vars.h @@ -32,7 +32,7 @@ CONFIG_VARIABLE (bool, send_mmc, "send-mmc", true) CONFIG_VARIABLE (bool, send_midi_clock, "send-midi-clock", false) CONFIG_VARIABLE (bool, mmc_control, "mmc-control", true) CONFIG_VARIABLE (bool, midi_feedback, "midi-feedback", false) -CONFIG_VARIABLE (uint8_t, mmc_receive_device_id, "mmc-receive-device-id", 0) +CONFIG_VARIABLE (uint8_t, mmc_receive_device_id, "mmc-receive-device-id", 0x7f) CONFIG_VARIABLE (uint8_t, mmc_send_device_id, "mmc-send-device-id", 0) CONFIG_VARIABLE (int32_t, initial_program_change, "initial-program-change", -1) diff --git a/libs/midi++2/mmc.cc b/libs/midi++2/mmc.cc index 930666a027..fd18648de2 100644 --- a/libs/midi++2/mmc.cc +++ b/libs/midi++2/mmc.cc @@ -199,7 +199,7 @@ MachineControl::MachineControl (Manager* m, jack_client_t* jack) { build_mmc_cmd_map (); - _receive_device_id = 0; + _receive_device_id = 0x7f; _send_device_id = 0x7f; _input_port = m->add_port (new Port ("MMC in", Port::IsInput, jack));