mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
libtemporal: rename TempoMap::full_duration_at() to ::convert_duration() and reorder parameters
This commit is contained in:
parent
7773fc5b64
commit
daad7b74ae
4 changed files with 16 additions and 16 deletions
|
|
@ -169,14 +169,14 @@ timecnt_t::compute_superclocks() const
|
|||
{
|
||||
assert (_distance.flagged());
|
||||
TempoMap::SharedPtr tm (TempoMap::use());
|
||||
return tm->full_duration_at (_position, *this, AudioTime).superclocks();
|
||||
return tm->convert_duration (*this, _position, AudioTime).superclocks();
|
||||
}
|
||||
|
||||
Beats
|
||||
timecnt_t::compute_beats() const
|
||||
{
|
||||
assert (!_distance.flagged());
|
||||
return TempoMap::use()->full_duration_at (_position, *this, BeatTime).beats();
|
||||
return TempoMap::use()->convert_duration (*this, _position, BeatTime).beats();
|
||||
}
|
||||
|
||||
timecnt_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue