mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
use all-call default for MMC send ID, and correct parameter names in session state handling
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2240 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
047bf14592
commit
02a5c4088b
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ CONFIG_VARIABLE (bool, send_mmc, "send-mmc", false)
|
|||
CONFIG_VARIABLE (bool, mmc_control, "mmc-control", false)
|
||||
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_send_device_id, "mmc-send-device-id", 0)
|
||||
CONFIG_VARIABLE (uint8_t, mmc_send_device_id, "mmc-send-device-id", 0x7f)
|
||||
|
||||
/* control surfaces */
|
||||
|
||||
|
|
|
|||
|
|
@ -3163,13 +3163,13 @@ Session::config_changed (const char* parameter_name)
|
|||
|
||||
poke_midi_thread ();
|
||||
|
||||
} else if (PARAM_IS ("mmc-device-id") || PARAM_IS ("mmc-receive-id")) {
|
||||
} else if (PARAM_IS ("mmc-device-id") || PARAM_IS ("mmc-receive-device-id")) {
|
||||
|
||||
if (mmc) {
|
||||
mmc->set_receive_device_id (Config->get_mmc_receive_device_id());
|
||||
}
|
||||
|
||||
} else if (PARAM_IS ("mmc-send-id")) {
|
||||
} else if (PARAM_IS ("mmc-send-device-id")) {
|
||||
|
||||
if (mmc) {
|
||||
mmc->set_send_device_id (Config->get_mmc_send_device_id());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue