From b678800b62bedd3b7a94ce3e6d17c1d64252ec62 Mon Sep 17 00:00:00 2001 From: jimmy Date: Tue, 17 Nov 2026 16:49:01 +1300 Subject: [PATCH] seqplay: declare seqplay_sim_selected Co-Authored-By: Claude Haiku 5.5 --- main/seqplay.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/seqplay.h b/main/seqplay.h index 600e9d5..1a959d8 100644 --- a/main/seqplay.h +++ b/main/seqplay.h @@ -12,6 +12,10 @@ // Start the beat task (after beat_start) esp_err_t seqplay_init(void); +// Whether the input device is "simulated": the beat comes from the clock at audio_simulated_bpm, and +// only then. Call with the store locked. +bool seqplay_sim_selected(void); + // Start sequence seq_id in zone_id. While another sequence plays, the switch waits for the next beat // (or downbeat, settings.sequence_switch_wait) and *queued is set. ESP_ERR_NOT_FOUND: no such sequence // in the profile; ESP_ERR_INVALID_ARG: no zone (msg says which); ESP_ERR_INVALID_SIZE: no steps.