13
0

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
This commit is contained in:
Carl Hetherington 2010-07-25 23:55:45 +00:00
parent 6a9758dbcc
commit 0fb9c79d8d
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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));