Skip to content

Add TTS::get_string helper to dedupe engine dispatch - #908

Merged
NSoiffer merged 1 commit into
daisy:mainfrom
moritz-gross:create-dispatch-for-get-string
Oct 24, 2026
Merged

NSoiffer merged 1 commit into
daisy:mainfrom
moritz-gross:create-dispatch-for-get-string

Conversation

@moritz-gross

Copy link
Copy Markdown
Collaborator

The three-way match on TTS::None/SSML/SAPI5 to call get_string_none / get_string_ssml / get_string_sapi5 was repeated. Move it into a single get_string helper so adding a new engine only needs one match updated.

The three-way match on TTS::None/SSML/SAPI5 to call get_string_none / get_string_ssml / get_string_sapi5 was repeated.
Move it into a single get_string helper so adding a new engine only needs one match updated.
@github-actions

Copy link
Copy Markdown
Linux library size: 0.59 MiB (-0.01%)
Revision Release liblibmathcat.so
Base (3aee7a4) 0.59 MiB (614,768 bytes)
PR (0e72712) 0.59 MiB (614,712 bytes)
Change -56 bytes (-0.01%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@NSoiffer
NSoiffer merged commit 5ad977b into daisy:main Oct 24, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants