Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/vosk.c:
free(path);
- return status;
+}
+static NTSTATUS vosk_create( void *args ) +{
- struct vosk_create_params *params = args;
- VoskRecognizer *recognizer = NULL;
- VoskModel *model = NULL;
- NTSTATUS status;
- TRACE("args %p.\n", args);
- if ((status = get_model_by_lang(getenv("LC_NAME"), &model)) != STATUS_SUCCESS)
return status;
I suspect we might want to use the locale taken from the Windows user/system locale instead? Also I think `LC_NAME` doesn't and isn't usually set.