fix delta display of MClk slave.
git-svn-id: svn://localhost/ardour2/branches/3.0@13298 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -1124,9 +1124,15 @@ AudioClock::set_timecode (framepos_t when, bool /*force*/)
|
||||
}
|
||||
break;
|
||||
case MIDIClock:
|
||||
_left_layout->set_text (string_compose ("%1",
|
||||
sync_source_to_string(sync_src, true)));
|
||||
_right_layout->set_text (slave->approximate_current_delta());
|
||||
if (slave) {
|
||||
_left_layout->set_text (string_compose ("%1",
|
||||
sync_source_to_string(sync_src, true)));
|
||||
_right_layout->set_text (slave->approximate_current_delta());
|
||||
} else {
|
||||
_left_layout->set_text (string_compose ("%1 --pending--",
|
||||
sync_source_to_string(sync_src, true)));
|
||||
_right_layout->set_text ("");
|
||||
}
|
||||
break;
|
||||
case LTC:
|
||||
if (slave) {
|
||||
|
||||
Reference in New Issue
Block a user