libtemporal: fix timepos_t::set_time_domain()

For legacy reasons, this was going via a sample intermediate representation
This commit is contained in:
Paul Davis 2021-07-27 11:51:04 -06:00
parent 1927e4673b
commit 9c2e4ec6d2
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ timepos_t::set_time_domain (TimeDomain td)
}
if (td == AudioTime) {
v = build (false, superclock_to_samples (_superclocks(), TEMPORAL_SAMPLE_RATE));
v = build (false, _superclocks());
} else {
v = build (true, _beats().to_ticks());
}