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
Unable to load SAPI5 in version 2012.2.1 #2629
Comments
Attachment 2011_3.txt added by bartperemans on 2012-08-30 10:22 |
Attachment 2012_2.txt added by bartperemans on 2012-08-30 10:22 |
Comment 1 by briang1 on 2012-08-30 17:08 One idea for you is to test a portable version which will have its own .ini file in case some corruption has caused the issue in the old .ini file. |
Comment 2 by jteh on 2012-08-30 23:46 The first step is to try the old sapi5 driver. I'm not sure how comfortable you are with copying files around, etc., but you need to copy this file into %appdata%\nvda\synthDrivers. Then restart NVDA 2012.2 and see if that works. |
Comment 3 by bartperemans on 2012-08-31 09:01 Revision main,4597: OK, works. |
Comment 4 by jteh on 2013-03-15 02:34 We've finally managed to figure out what's going on here. These problematic engines use a token enumerator, so they generate their own ISpeechObjectToken objects. IEnumVARIANT (which is what is used when we iterate) returns IDispatch pointers, but !GetBestInterface doesn't work on the objects returned by these problematic enumerators, so we just get IDispatch, which doesn't work either. However, the Item method on the collection explicitly returns ISpeechObjectToken, which is why fetching by index works correctly. I'll commit a fix shortly with comments so we don't break this again. |
Comment 5 by jteh on 2013-03-15 07:28 |
Reported by bartperemans on 2012-08-30 10:21
Hi,
I have a problem when accessing my sapi5 windows voices with the new version 2012.2 of NVDA. When changing the eSpeak synthesizer to Microsoft Speech API version 5, the voices don’t work anymore. I get an errormessage: “The synthesizer sapi5 could not be loaded.”
In my previous version it did work without any problems. Please find attached the log files from version 2012.2.1 were it doesn’t work and version 2011.3 where it works.
Could you give me a workaround?
Regards,
The text was updated successfully, but these errors were encountered: