On Thu Feb 16 11:18:29 2023 +0000, Bernhard Kölbl wrote:
I just noticed a huge issue. The Unixlib needs to be fully dynamic and be able to handle cases where Vosk is missing, because if we make Windows.Media.Speech fail to load when there is an error in the Unixlib, then SpeechSynthesis will be fully broken as well. I think the best solution would be to move back to dlsym loading and just check for the header.
You don't need to fail to load if the unixlib fails to load, though. You just need to, say, check whether your unix functions are NULL or not before using them. I don't think gphoto even fails to load when its unixlib fails to load.