mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
fix timepos_t::string_to (wrong argument to samples_to_superclock()
This commit is contained in:
parent
445ad2e383
commit
092a454648
1 changed files with 2 additions and 2 deletions
|
|
@ -860,8 +860,8 @@ timepos_t::string_to (std::string const & str)
|
||||||
/* old school position format: we assume samples */
|
/* old school position format: we assume samples */
|
||||||
std::stringstream ss (str);
|
std::stringstream ss (str);
|
||||||
ss >> sm;
|
ss >> sm;
|
||||||
v = build (false, samples_to_superclock (s, TEMPORAL_SAMPLE_RATE));
|
v = build (false, samples_to_superclock (sm, TEMPORAL_SAMPLE_RATE));
|
||||||
cerr << "deserialized timepos from older " << str << " as " << *this << endl;
|
cerr << "deserialized timepos from older " << str << " as " << *this << " with sm = " << sm << " and sr = " << TEMPORAL_SAMPLE_RATE << " s2sc " << endl;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue