Skip to content

Remove SAPI4#19290

Merged
SaschaCowley merged 6 commits into
masterfrom
remSapi4
Nov 28, 2025
Merged

Remove SAPI4#19290
SaschaCowley merged 6 commits into
masterfrom
remSapi4

Conversation

@SaschaCowley

@SaschaCowley SaschaCowley commented Nov 27, 2025

Copy link
Copy Markdown
Member

Link to issue number:

Closes #18310
Closes #19030
Closes #17964

Summary of the issue:

SAPI4 is 32-bit only. As we don't currently have a SAPI4 bridge or a compatibility shim, we need to remove support.

Description of user facing changes:

SAPI4 speech synthesizers are no longer supported by NVDA.

Description of developer facing changes:

SAPI4 and related code has been removed.

Description of development approach:

Deleted the synth drivers and related code.

Testing strategy:

System and usage tests.

Tried changing synthesizers to ensure that things still work as expected.

Known issues with pull request:

This may stop some users from using their preferred speech synthesizer. For many users, this is a luxury, however for some a SAPI4 synth may be a necessity, due to language, hearing, auditory processing issues etc.

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@SaschaCowley SaschaCowley added this to the 2026.1 milestone Nov 27, 2025
@SaschaCowley SaschaCowley marked this pull request as ready for review November 27, 2025 06:51
@SaschaCowley SaschaCowley requested review from a team as code owners November 27, 2025 06:51
Comment thread projectDocs/design/synthesizers.md Outdated

@Qchristensen Qchristensen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SaschaCowley SaschaCowley merged commit 33cf7ad into master Nov 28, 2025
41 checks passed
@SaschaCowley SaschaCowley deleted the remSapi4 branch November 28, 2025 03:23
michaelDCurran added a commit that referenced this pull request Jan 13, 2026
michaelDCurran added a commit that referenced this pull request Jan 14, 2026
…it to the 32 bit runtime (#19436)

### Link to issue number:
<!-- Use Closes/Fixes/Resolves #xxx to link this PR to the issue it is
responding to. -->
Reverts #19290

### Summary of the issue:
with the move to 64 bit, sapi4 became unusable as it only functions in a
32 bit process. PR #19290 was merged which removes sapi4. However, pr
#19432 is adding the infrastructure to run sapi4 within a 32 bit
runtime. Thus the original sapi4 should be tempoararily added back so
that pr #19432 can move it into its 32 bit location.
 
### Description of user facing changes:
None.

### Description of developer facing changes:

### Description of development approach:
This is a clean revert of pr #19290 (with only a conflict in changes.md
which was addressed).

### Testing strategy:
None - clean revert.

### Known issues with pull request:
None known.

### Code Review Checklist:

<!--
This checklist is a reminder of things commonly forgotten in a new PR.
Authors, please do a self-review of this pull-request.
Check items to confirm you have thought about the relevance of the item.
Where items are missing (eg unit / system tests), please explain in the
PR.
To check an item `- [ ]` becomes `- [x]`, note spacing.
You can also check the checkboxes after the PR is created.
A detailed explanation of this checklist is available here:

https://github.com/nvaccess/nvda/blob/master/projectDocs/dev/githubPullRequestTemplateExplanationAndExamples.md#code-review-checklist
-->

- [x] Documentation:
  - Change log entry
  - User Documentation
  - Developer / Technical Documentation
  - Context sensitive help for GUI changes
- [x] Testing:
  - Unit tests
  - System (end to end) tests
  - Manual testing
- [x] UX of all users considered:
  - Speech
  - Braille
  - Low Vision
  - Different web browsers
  - Localization in other languages / culture than English
- [x] API is compatible with existing add-ons.
- [x] Security precautions taken.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NVDA 64-bit does not recognize 32-bit synthesizers - including all SAPI 4 remove SAPI4 from NVDA Some problems with Sapi4 infovox

3 participants