mirror of https://github.com/ndarilek/tts-rs.git
Nolan Darilek
4f011e6895
Two Tolk instances were being created. One checked for the presence of a screen reader. The other actually performed the speech, and was returned as part of the `TTS` instance. Unfortunately, Tolk doesn't seem to appreciate being called twice. So here we check if a screen reader is detected and, if one is, return the instance that did the detection. Otherwise, error out and return the WinRT backend. |
||
---|---|---|
.. | ||
backends | ||
lib.rs |