Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix narrator modes #16179

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

viachaslavic
Copy link
Contributor

Description

Split the Accessibility narrator and the AI service narrator.

Related Issues

#15888 (comment)

Reviewers

@DisasterMo @zoltanvb @BarryJRowe

@viachaslavic viachaslavic marked this pull request as draft January 30, 2024 14:48
@viachaslavic viachaslavic force-pushed the fix_narrator_modes branch 2 times, most recently from d6d6438 to 40fd61c Compare January 30, 2024 18:19
@viachaslavic viachaslavic marked this pull request as ready for review January 30, 2024 18:34
@zoltanvb
Copy link
Contributor

zoltanvb commented Feb 3, 2024

Looks OK to me, tested Linux part with espeak, menu narrator now acts according to user language instead of AI translation language.

One nitpick: a comment would be nice for the 2 functions in retroarch.c, as it is not obvious from the code why those 2 are separated.

@zoltanvb
Copy link
Contributor

zoltanvb commented Feb 3, 2024

Just for information for anyone wondering - related fault in earlier builds can be mostly worked around by setting AI Service target language to the same as user language.

@viachaslavic viachaslavic marked this pull request as draft February 4, 2024 19:41
@viachaslavic viachaslavic force-pushed the fix_narrator_modes branch 2 times, most recently from 8cc3eaf to e92800a Compare February 6, 2024 11:38
@viachaslavic
Copy link
Contributor Author

viachaslavic commented Feb 6, 2024

One nitpick: a comment would be nice for the 2 functions in retroarch.c, as it is not obvious from the code why those 2 are separated.

Done. I also changed the order of the arguments to avoid implicit type conversion by compiler in cases when wrong function is used.

@viachaslavic viachaslavic marked this pull request as ready for review February 6, 2024 11:55
@BarryJRowe
Copy link
Contributor

Looks good to me!

@LibretroAdmin LibretroAdmin merged commit 997c745 into libretro:master Feb 9, 2024
26 checks passed
@viachaslavic viachaslavic deleted the fix_narrator_modes branch February 9, 2024 20:07
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
* Fix narrator

* Refactor accessibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants