Send MMC/MTC options will stick now, and prevent the engine from messing
the configuration variables. git-svn-id: svn://localhost/ardour2/trunk@1638 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -398,24 +398,6 @@ Session::setup_midi_control ()
|
||||
mtc_msg[10] = 0xf1;
|
||||
mtc_msg[12] = 0xf1;
|
||||
mtc_msg[14] = 0xf1;
|
||||
|
||||
if (_mmc_port != 0) {
|
||||
|
||||
Config->set_send_mmc (session_send_mmc);
|
||||
|
||||
} else {
|
||||
|
||||
mmc = 0;
|
||||
session_send_mmc = false;
|
||||
}
|
||||
|
||||
if (_mtc_port != 0) {
|
||||
|
||||
Config->set_send_mtc (session_send_mtc);
|
||||
|
||||
} else {
|
||||
session_send_mtc = false;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
@@ -3177,6 +3177,8 @@ Session::config_changed (const char* parameter_name)
|
||||
/* mark us ready to send */
|
||||
next_quarter_frame_to_send = 0;
|
||||
}
|
||||
} else {
|
||||
session_send_mtc = false;
|
||||
}
|
||||
|
||||
} else if (PARAM_IS ("send-mmc")) {
|
||||
@@ -3187,6 +3189,9 @@ Session::config_changed (const char* parameter_name)
|
||||
|
||||
if (_mmc_port != 0) {
|
||||
session_send_mmc = Config->get_send_mmc();
|
||||
} else {
|
||||
mmc = 0;
|
||||
session_send_mmc = false;
|
||||
}
|
||||
|
||||
} else if (PARAM_IS ("midi-feedback")) {
|
||||
|
||||
Reference in New Issue
Block a user