MTC slave fix reporting approx position
git-svn-id: svn://localhost/ardour2/branches/3.0@13277 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -645,10 +645,10 @@ std::string
|
||||
MTC_Slave::approximate_current_position() const
|
||||
{
|
||||
SafeTime last;
|
||||
read_current (&last);
|
||||
if (last.timestamp == 0) {
|
||||
return "--:--:--:--";
|
||||
}
|
||||
read_current (&last);
|
||||
return Timecode::timecode_format_sampletime(
|
||||
last.position,
|
||||
double(session.frame_rate()),
|
||||
|
||||
Reference in New Issue
Block a user