13
0

Fix ignored note_type in TempoMap::frames_per_beat_at().

This commit is contained in:
nick_m 2016-06-05 07:10:06 +10:00
parent e627a9681a
commit b4a020cdf5

View File

@ -3032,7 +3032,7 @@ TempoMap::frames_per_beat_at (const framepos_t& frame, const framecnt_t& sr) con
}
if (ts_after) {
return (60.0 * _frame_rate) / (ts_at->tempo_at_frame (frame, _frame_rate));
return (60.0 * _frame_rate) / (ts_at->tempo_at_frame (frame, _frame_rate) * ts_at->note_type());
}
/* must be treated as constant tempo */
return ts_at->frames_per_beat (_frame_rate);