mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-09-11 05:44:10 +00:00
bb0f79e0be150efb28a2865cf0deccc64e95fc5d
Field finding (fix14 test build): nam_tone's 1.5s keep-alive watchdog calls raw startAudio whenever the engine is not running, restarting it seconds after the user pressed Stop - and the shim treated any raw start as user authority, resuming all suspended demands with it. Per plan 8.3 (user stop always wins) raw start/stop was supposed to be device-screen-only; now enforced: - audio:userStartAudio / audio:userStopAudio: explicit user authority. Stop sets a latch (+ suspends demands); start clears it (+ resumes). - raw audio:startAudio is SUPPRESSED while latched (log-once telemetry 'suppressed-by-user-stop') and no longer resumes demands. - raw audio:stopAudio no longer suspends demands (it is the transient stop the device-apply flow and unmigrated plugins use). - fresh capture demands born during the latch start suspended, so the user start resumes them like pre-existing ones; the demand glue also refuses to start the engine while latched. - device screen (src/renderer/screen.js) toggle + apply flows use the user-authority calls. Contract snapshots regenerated (2 IPC channels, 2 preload keys). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Languages
C++
52%
TypeScript
18.6%
JavaScript
17.9%
Shell
7.3%
CMake
2.4%
Other
1.8%