mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
more tempo-related AU changes
git-svn-id: svn://localhost/ardour2/branches/3.0@11059 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ceaf76b505
commit
d2dd80807c
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_bar_division - bbt.ticks)/Timecode::BBT_Time::ticks_per_bar_division) * // fraction of a beat to next beat
|
||||
metric.tempo().frames_per_beat(_session.frame_rate(), metric.meter())); // 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