mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
AudioClock: make last_when public and use it instead of current_time
Having current_time as a public alias of the private last_when did not add any clarity to the abstraction of last_time. A small step, but still room for improvement.
This commit is contained in:
parent
498dac3bc8
commit
728e463d01
12 changed files with 33 additions and 40 deletions
|
|
@ -668,7 +668,7 @@ void
|
|||
ClockOption::save_clock_time ()
|
||||
{
|
||||
Timecode::Time TC;
|
||||
_session->sample_to_timecode (_clock.current_time().samples(), TC, false, false);
|
||||
_session->sample_to_timecode (_clock.last_when().samples(), TC, false, false);
|
||||
_set (Timecode::timecode_format_time(TC));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue