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.