Commit the limiter's audible state on the click and defer only the host's latency restart

setInstrumentParams now arms a sticky pending restart that flushLatencyRestart drains from the sync tick; setState and the bake's adopt flush at their own tails.
This commit is contained in:
2026-08-02 11:45:47 -04:00
parent 41876674e4
commit b956fe0d5a
7 changed files with 76 additions and 44 deletions
-5
View File
@@ -446,11 +446,6 @@ private:
std::string bakeMessage_; // last outcome, shown in the title band
int bakeMessageTicks_ = 0; // sync ticks the message survives
// The limiter toggle, armed by the click and run on the sync tick — the commit requests a
// host latency restart, which is the same nested-inside-a-mouse-handler hazard the bake
// defers for. Empty = nothing armed.
std::optional<bool> limiterPending_;
// The editor-drop -> extension-ingest relay is not shipped (the bridge is read-only):
// an OS drop just flashes a "drop on the panel instead" banner (dropHintTicks_ counts
// down via the sync tick). Never ingests, never inserts a timeline item.