mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-30 18:24:19 +01:00
* fix(ui): show the current device choice in the Playback Engine after a command changes it The Playback Engine kept its edits in a draft that only its close button cleared. Closed from the menu, or left open while ui.audio_device or setup.playback_engine changed the choice, it reopened on the earlier choice, and Apply then put that choice back without a word. Keep the choice the draft started from with the draft, and start over from the current choice when they differ; clear the draft however the window closes. * docs: note the Playback Engine following command changes in the G-01 gap and hardware parity * docs: drop macOS from the G-01 verification still missing * fix(ui): say when a change made elsewhere replaces the Playback Engine's unapplied edits Pro Tools' Playback Engine is a modal dialog (Reference Guide p. 109), so nothing else changes the device under its edits. This window is not modal: when ui.audio_device or setup.playback_engine changes the choice while the window holds unapplied edits, the window takes the new choice, as before, and now says the edits were replaced, under its buttons and in the status line, until the next edit or until it is closed. * test: set the Playback Engine harness up headless, as main's craft-libs requires The merge from main brings a craft-libs whose command board panics without the headless framework setup in a kittest harness. * docs: bring comments in line with the code * fix: clear the replaced-edits notice from the status line The Playback Engine wrote the notice to app.ui.status, but a later edit or closing the window only cleared the in-window warning flag. Clear the status when it still holds this notice, and test both paths. --------- Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>