fix: replace DEFAULT_BPM with literal 120.0 in test_tui.c

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-02 18:44:11 +00:00
parent 0577c0e776
commit d8017481b3

View File

@@ -25,7 +25,7 @@ static AppState create_test_state(void) {
state.transport_state = TRANSPORT_STOPPED; state.transport_state = TRANSPORT_STOPPED;
state.clock_source = CLOCK_SOURCE_INTERNAL; state.clock_source = CLOCK_SOURCE_INTERNAL;
state.bpm = 120.0; state.bpm = 120.0;
state.samples_per_beat = (48000 * 60.0) / DEFAULT_BPM; state.samples_per_beat = (48000 * 60.0) / 120.0;
state.clock_count = 0; state.clock_count = 0;
state.beat_position = 0; state.beat_position = 0;
state.bar_position = 0; state.bar_position = 0;