mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Wrap MusicalTime in a class.
This lets us get a more explicit handle on time conversions, and is the main step towards using actual beat:tick time and getting away from floating point precision problems.
This commit is contained in:
parent
cae74309a5
commit
c1cfa12d6e
44 changed files with 519 additions and 326 deletions
|
|
@ -143,7 +143,7 @@ PatchChangeDialog::instrument_info_changed ()
|
|||
Evoral::PatchChange<Evoral::MusicalTime>
|
||||
PatchChangeDialog::patch () const
|
||||
{
|
||||
Evoral::MusicalTime t = 0;
|
||||
Evoral::MusicalTime t = Evoral::MusicalTime();
|
||||
|
||||
if (_time_converter) {
|
||||
t = _time_converter->from (_time.current_time ());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue