mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 00:26:08 +00:00
Fix using the mbrola voices in Windows Subsystem for Linux.
This commit is contained in:
committed by
Valdis Vitolins
parent
812ea81319
commit
1a4590098c
@@ -527,6 +527,11 @@ static int init_mbrola(char *voice_path)
|
||||
if (error)
|
||||
return -1;
|
||||
|
||||
// Allow mbrola time to start when running on Windows Subsystem for
|
||||
// Linux (WSL). Otherwise, the receive_from_mbrola call to read the
|
||||
// wav header from mbrola will fail.
|
||||
usleep(100);
|
||||
|
||||
result = send_to_mbrola("#\n");
|
||||
if (result != 2) {
|
||||
stop_mbrola();
|
||||
|
||||
Reference in New Issue
Block a user