Retune speech settings without cancelling queued output

This commit is contained in:
Storm Dragon committed 2026-11-19 12:25:59 -05:00
1 parent 15441f8af2
commit 6ce03fdb12
5 files changed
+594 -42

No files matched your search

+15 -5
View File
@@ -73,7 +73,7 @@ checks. Leave submission to the contributor after their review and testing.
The shared quick menu and validated discovery API are available starting with
v0.5.0. Shared translation message ID lists are available starting with v0.6.1.
Both readers pin v0.8.0 for standalone builds.
Readers pin released module versions for standalone builds.
## License
@@ -165,6 +165,15 @@ are separate from speaking connections, and ordinary discovery never autostarts
a daemon. Startup can honor the invoking sudo user's credentials without
changing the reader process's credentials.
Starting with v0.9.0, `Client.RetuneSettings` applies automatic voice changes
on the speaking connection without cancelling queued utterances. Cleared
settings regain the defaults for the same client identity. Explicit modules
are applied after language routing. Unqueryable defaults, including cleared
capitalization, return `ErrRetuneNeedsReconnect` before changing the speaking
connection; callers can use the cancelling `UpdateSettings` path. A failed
multi-client retune can have changed earlier clients, so reader hosts must
restore their previous complete configuration if fallback replacement fails.
Run `go test -race ./speechdispatcher` for protocol and recovery fixtures.
`CTHULHU_NATIVE_SPEECH_STARTUP=1 go test -race ./speechdispatcher` additionally
starts and restarts private dummy-output daemons; it does not restart the user's
@@ -216,8 +225,8 @@ DECtalk encoding.
built from `testdata/usb_fixture.c` and need a C compiler, not hardware.
The protocol and presentation helpers are available starting with v0.4.0;
`hardware/transport` is available starting with v0.8.0. Both readers pin v0.8.0
for standalone builds. Verify pinned dependencies with `GOWORK=off`;
`hardware/transport` is available starting with v0.8.0. Readers pin released
module versions for standalone builds. Verify pinned dependencies with `GOWORK=off`;
physical keyboard, audible speech, braille, and hardware acceptance remain
separate live checks.
@@ -236,6 +245,7 @@ settings and never modifies unrelated preferences.
`internalui.Session.FocusControl` restores a control when a child editor
returns to its parent form. `quicksettings.Option.Literal` preserves user-chosen
profile names without translation. These APIs are available starting with v0.6.0;
both readers pin v0.8.0 for standalone builds. Run `go test -race ./...` here and the
consumer settings/speech regressions with `GOWORK=off` in both readers. The
readers pin released module versions for standalone builds. Run
`go test -race ./...` here and the consumer settings/speech regressions with
`GOWORK=off` in both readers. The
sibling workspace supports local development without machine-specific replaces.