nvda
a1e2a6d3 - Onecore synthDriver: Ensure it does not fail to load if the configured voice has been uninstalled. Also majorly speed up changing voices.

Commit
7 years ago
Onecore synthDriver: Ensure it does not fail to load if the configured voice has been uninstalled. Also majorly speed up changing voices. Specifically: * When fetching the list of voices from Onecore speech, also tet the language for each voice. * Choose the best default voice on initialization, trying to match the user's Windows language as best as possible. If this fails, just choose the first valid voice it can find. * Validate and filter the list of available voices as early as possible. This ensures that available voices are not fetched more than once, as the actual call to get the voices from Onecore can sometimes take up to 600 ms or more. thus this was majorly slowing down changing voices.
Committer
Parents
Loading