HLE: speak the title's narration with the host's default voice #2757
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2759"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-25T19:49:51Z.
Narration ("Screen Narration" in the title's accessibility settings) was silent: every speech stream was an empty WAVE file. Text (slot 0x68) and SSML (slot 0xa8) are now spoken by the host's default voice through WinRT
SpeechSynthesizer, and the title reads back the WAVE file it makes. Where the host has no working voice, the stream is the previous silence, so nothing gets worse.What is in it
crates/victory-hle/src/modules/speech.rs: synthesis, per-stream handles that own their audio (freed on close, slot 0x70), testscrates/victory-hle/Cargo.toml:Media_Core,Media_SpeechSynthesis,Storage_Streamsfeatures ofwindowsREADME.md: the runtime services rowTested
cargo test -p victory-hle --lib speech: 3 passed;the_host_voice_speaks_text_and_ssmlsynthesized real audio for both text and SSML (not skipped)cargo test --workspace: 781 passed, 0 failed, 9 ignoredcargo clippy --workspace --all-targets --locked -- -D warnings: cleanNot tested
AI use
Code, tests and description written with Claude (Claude Opus 5.5); I built and ran the tests on the hardware above.
Pull request closed