mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 18:16:35 +01:00
another AU-specific tempo fix
git-svn-id: svn://localhost/ardour2/branches/3.0@11203 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9b975dce38
commit
5f1ff657c2
1 changed files with 1 additions and 1 deletions
|
|
@ -1462,7 +1462,7 @@ AUPlugin::get_musical_time_location_callback (UInt32* outDeltaSampleOffsetToNe
|
|||
} else {
|
||||
*outDeltaSampleOffsetToNextBeat = (UInt32)
|
||||
floor (((Timecode::BBT_Time::ticks_per_beat - bbt.ticks)/Timecode::BBT_Time::ticks_per_beat) * // fraction of a beat to next beat
|
||||
metric.meter().frames_per_division (metric.tempo(), _session.frame_rate())); // frames per beat
|
||||
metric.tempo().frames_per_beat (_session.frame_rate())); // frames per beat
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue