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

add set voice and get voices #2

Closed
Eh2406 opened this issue Dec 4, 2017 · 3 comments · Fixed by #18
Closed

add set voice and get voices #2

Eh2406 opened this issue Dec 4, 2017 · 3 comments · Fixed by #18

Comments

@Eh2406
Copy link
Owner

Eh2406 commented Dec 4, 2017

So that we can switch voices in settings.

@steinbro
Copy link
Contributor

Hi! I looked into implementing this but quickly got turned off by the complexity of the COM API. I see that there's a newer Rust package https://github.com/vstojkovic/sapi-lite that provides a much nicer abstraction for interacting with voice selections, but it uses the wimdows-rs Win32 bindings instead of winapi. Is there any way to use that package without swapping out all the current bindings?

@Eh2406
Copy link
Owner Author

Eh2406 commented Mar 13, 2023

To your direct question it should be possible for a binary to use wimdows-rs and Win32 bindings imported at the same time. (Or, porting over to the newer wimdows-rs would also be helpful.) I don't know whether sapi-lite provides a level of abstraction we would need for this project. But if it does, wonderful. If not we should be able to copy and modify what we need.

@steinbro
Copy link
Contributor

Cool, I'm first attempting a port to windows-rs -- it's a little tedious, but it does give me the Rust practice I was looking for.

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 a pull request may close this issue.

2 participants