From 092a45464868193fe2311beb45d1a0567ee3eac6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 23 Mar 2021 23:55:43 -0600 Subject: [PATCH] fix timepos_t::string_to (wrong argument to samples_to_superclock() --- libs/temporal/timeline.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/temporal/timeline.cc b/libs/temporal/timeline.cc index 9f3ab5947a..ec885b5ee9 100644 --- a/libs/temporal/timeline.cc +++ b/libs/temporal/timeline.cc @@ -860,8 +860,8 @@ timepos_t::string_to (std::string const & str) /* old school position format: we assume samples */ std::stringstream ss (str); ss >> sm; - v = build (false, samples_to_superclock (s, TEMPORAL_SAMPLE_RATE)); - cerr << "deserialized timepos from older " << str << " as " << *this << endl; + v = build (false, samples_to_superclock (sm, TEMPORAL_SAMPLE_RATE)); + cerr << "deserialized timepos from older " << str << " as " << *this << " with sm = " << sm << " and sr = " << TEMPORAL_SAMPLE_RATE << " s2sc " << endl; return true; }