13
0

audio units uses quarter_notes_per_minute().

This commit is contained in:
nick_m 2016-11-06 05:39:37 +11:00
parent 33e95a1577
commit 3ee59cf499

View File

@ -1808,7 +1808,7 @@ AUPlugin::get_beat_and_tempo_callback (Float64* outCurrentBeat,
} }
if (outCurrentTempo) { if (outCurrentTempo) {
*outCurrentTempo = tmap.tempo_at_frame (transport_frame + input_offset).beats_per_minute(); *outCurrentTempo = tmap.tempo_at_frame (transport_frame + input_offset).quarter_notes_per_minute();
} }
return noErr; return noErr;