add a delta sign to the slave delta display.
git-svn-id: svn://localhost/ardour2/branches/3.0@13423 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -546,7 +546,7 @@ LTC_Slave::approximate_current_delta() const
|
||||
} else if ((monotonic_cnt - last_timestamp) > 2 * frames_per_ltc_frame) {
|
||||
snprintf(delta, sizeof(delta), "flywheel");
|
||||
} else {
|
||||
snprintf(delta, sizeof(delta), "%s%4" PRIi64 " sm",
|
||||
snprintf(delta, sizeof(delta), "\u0394 %s%4" PRIi64 " sm",
|
||||
PLUSMINUS(-current_delta), abs(current_delta));
|
||||
}
|
||||
return std::string(delta);
|
||||
|
||||
@@ -363,7 +363,7 @@ MIDIClock_Slave::approximate_current_delta() const
|
||||
if (last_timestamp == 0 || _starting) {
|
||||
snprintf(delta, sizeof(delta), "\u2012\u2012\u2012\u2012");
|
||||
} else {
|
||||
snprintf(delta, sizeof(delta), "%s%4" PRIi64 " sm",
|
||||
snprintf(delta, sizeof(delta), "\u0394 %s%4" PRIi64 " sm",
|
||||
PLUSMINUS(-current_delta), abs(current_delta));
|
||||
}
|
||||
return std::string(delta);
|
||||
|
||||
@@ -680,7 +680,7 @@ MTC_Slave::approximate_current_delta() const
|
||||
snprintf(delta, sizeof(delta), "\u2012\u2012\u2012\u2012");
|
||||
} else {
|
||||
// TODO if current_delta > 1 frame -> display timecode.
|
||||
snprintf(delta, sizeof(delta), "%s%4" PRIi64 " sm",
|
||||
snprintf(delta, sizeof(delta), "\u0394 %s%4" PRIi64 " sm",
|
||||
PLUSMINUS(-current_delta), abs(current_delta));
|
||||
}
|
||||
return std::string(delta);
|
||||
|
||||
Reference in New Issue
Block a user