Improve tick calculation?
This commit is contained in:
parent
65b6d544ad
commit
9f3cc2a2e0
|
@ -491,7 +491,7 @@ done:
|
||||||
|
|
||||||
/* FIXME: this this right? */
|
/* FIXME: this this right? */
|
||||||
|
|
||||||
const nframes_t frames_per_tick = frames_per_beat / ticks_per_beat;
|
const double frames_per_tick = frames_per_beat / ticks_per_beat;
|
||||||
bbt.tick = ( end - f ) / frames_per_tick;
|
bbt.tick = ( end - f ) / frames_per_tick;
|
||||||
|
|
||||||
return pos;
|
return pos;
|
||||||
|
|
Loading…
Reference in New Issue