Skip to content

Commit

Permalink
#967 #1000 Fix missing start of clip when playing arrangement with PDC
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Aug 1, 2024
1 parent 7fdbd4f commit 8e4635a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions main/src/infrastructure/proto/hub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,11 @@ mod playtime_impl {
let timeline = clip_timeline(project, false);
let pos = timeline.cursor_pos().get();
let bar_quantization = EvenQuantization::ONE_BAR;
let next_bar =
timeline.next_quantized_pos_at(pos, bar_quantization, Laziness::EagerForNextPos);
let next_bar = timeline.next_quantized_pos_at(
pos,
bar_quantization,
Laziness::SuperEagerForNextPos,
);
// TODO-high-playtime-refactoring We are mainly interested in beats relative to the bar in order to get a
// typical position display and a useful visual metronome. It's not super urgent because
// at least with the steady timeline, the app can derive a good metronome view because
Expand Down
2 changes: 1 addition & 1 deletion playtime-clip-engine

0 comments on commit 8e4635a

Please sign in to comment.