aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-01 18:46:52 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-01 18:46:52 +0200
commit40852e9a8823798e24bd07ea9567869c411fa8e8 (patch)
tree9d7956c1a200cac6040d5523b71ff231f3eb5c5e
parent7de603f11160aa47546295a614d4834eeeb273cf (diff)
downloadtimely.lv2-40852e9a8823798e24bd07ea9567869c411fa8e8.tar.xz
fix last commit.
-rw-r--r--timely.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/timely.h b/timely.h
index 55c1229..0dfb6df 100644
--- a/timely.h
+++ b/timely.h
@@ -215,7 +215,7 @@ _timely_refresh(timely_t *timely)
: 1.f; // prevent divisions through zero later on
timely->frames_per_beat = 240.0 * timely->pos.frames_per_second
- / (timely->pos.beats_per_minute * timely->pos.beat_unit * timely->pos.speed);
+ / (timely->pos.beats_per_minute * timely->pos.beat_unit * speed);
timely->frames_per_bar = timely->frames_per_beat * timely->pos.beats_per_bar;
// bar