Preserve queued speech during automatic voice changes
Adopt screenreader-common v0.9.0 for in-place retuning and restore the complete effective speech configuration when retuning and fallback replacement fail. Add interruption diagnostics and require the retune and recovery regressions in the speech push gate.
This commit is contained in:
1 parent
58d8f6bee1
commit
ffc5107112
20 files changed
+569
-52
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Primary voice profiles
|
||||
|
||||
Standalone builds pin screenreader-common v0.7.0. Use `GOWORK=off` to verify
|
||||
Standalone builds pin screenreader-common v0.9.0. Use `GOWORK=off` to verify
|
||||
the released dependency; a sibling workspace remains useful for development.
|
||||
Run shared tests with `GOWORK=off go test -race ./...` in screenreader-common.
|
||||
In Cthulhu, run `GOWORK=off go test ./internal/config ./internal/preferences
|
||||
@@ -43,3 +43,16 @@ Before submitting, review all three diffs and test with the intended reader:
|
||||
the currently configured primary voice keeps working after preset removal.
|
||||
|
||||
No running desktop reader needs to be restarted for the private checks.
|
||||
|
||||
For automatic application voice changes, queue a long announcement in an
|
||||
application with its own profile, then switch to an application using the
|
||||
global voice. Earlier speech should finish; later speech should use the new
|
||||
voice. Test returning to a global voice without a named family, a non-default
|
||||
Speech Dispatcher client configuration, and an explicit module when the server
|
||||
has language-to-module routing. Explicit preference changes may cancel queued
|
||||
speech. Confirm that interruption keys and custom echo voices still work.
|
||||
|
||||
The push gate includes retune ordering and failed-change restoration tests.
|
||||
The common module's `CTHULHU_NATIVE_SPEECH_STARTUP=1` tests compare retuned and
|
||||
fresh defaults against private dummy-output daemons. These automated checks do
|
||||
not establish audible speech, physical-key, Braille, or hardware acceptance.
|
||||
Reference in new issue
Block a user