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:
Sampo Savolainen 2007-03-25 11:48:22 +00:00
parent 6bcb3cde43
commit ee9f39ed3c
2 changed files with 5 additions and 18 deletions

View file

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

View file

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