libtemporal: fix timepos_t::set_time_domain()
For legacy reasons, this was going via a sample intermediate representation
This commit is contained in:
parent
1927e4673b
commit
9c2e4ec6d2
@ -461,7 +461,7 @@ timepos_t::set_time_domain (TimeDomain td)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (td == AudioTime) {
|
if (td == AudioTime) {
|
||||||
v = build (false, superclock_to_samples (_superclocks(), TEMPORAL_SAMPLE_RATE));
|
v = build (false, _superclocks());
|
||||||
} else {
|
} else {
|
||||||
v = build (true, _beats().to_ticks());
|
v = build (true, _beats().to_ticks());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user