Feb. 2, 2023
10:08 a.m.
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.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2091#note_22803