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

Update System.Speech to also recognize Speech_OneCore #110123

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

stephentoub
Copy link
Member

Closes #110120

@danmoseley, I believe you ported System.Speech over to core. Are you aware of reasons to not do this? Is there someone we should ask?

@@ -21,7 +21,12 @@ protected ObjectTokenCategory(string keyId, RegistryDataKey key)
internal static ObjectTokenCategory Create(string sCategoryId)
{
RegistryDataKey key = RegistryDataKey.Open(sCategoryId, true);
Copy link
Member

Choose a reason for hiding this comment

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

I assume this doesn't throw if the key isn't there -- it ends up calling into the COM interface so I guess that's the case

Copy link
Member

@danmoseley danmoseley left a comment

Choose a reason for hiding this comment

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

It wasn't discussed - I haven't heard of this. See no problem with it, but wouldn't this apply to .NET Framework as well? (Perhaps a similar change was already made there by someone?)

@stephentoub
Copy link
Member Author

but wouldn't this apply to .NET Framework as well?

If we were still adding features there, sure.

@danmoseley
Copy link
Member

Without context, I don't know whether it's adding features, or simply ensuring the scenario continues to work fully. Anyway, separate to this.

@danmoseley
Copy link
Member

does this fix #108991

@stephentoub
Copy link
Member Author

does this fix #108991

Possibly. It depends which voices they mean. This won't help with the "natural voices".

@danmoseley
Copy link
Member

@stephentoub ok to merge?

@stephentoub stephentoub merged commit 38366f0 into dotnet:main Jan 6, 2025
83 checks passed
@stephentoub stephentoub deleted the addonecorevoices branch January 6, 2025 21:56
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.Speech should work with OneCore voices
2 participants