mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-23 21:57:16 +01:00
fix typo in 9702020
This commit is contained in:
parent
e2846ad210
commit
adf290446f
1 changed files with 1 additions and 1 deletions
|
|
@ -1833,7 +1833,7 @@ AUPlugin::get_musical_time_location_callback (UInt32* outDeltaSampleOffsetToNe
|
|||
/* on the beat */
|
||||
*outDeltaSampleOffsetToNextBeat = 0;
|
||||
} else {
|
||||
double const next_beat = cail (tmap.quarter_note_at_frame (transport_frame + input_offset));
|
||||
double const next_beat = ceil (tmap.quarter_note_at_frame (transport_frame + input_offset));
|
||||
framepos_t const next_beat_frame = tmap.frame_at_quarter_note (next_beat);
|
||||
|
||||
*outDeltaSampleOffsetToNextBeat = next_beat_frame - (transport_frame + input_offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue