mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-26 04:59:59 +00:00
Fix the return status code from Synthesize when the voices cannot be found.
This commit is contained in:
@@ -400,7 +400,7 @@ static espeak_ng_STATUS Synthesize(unsigned int unique_identifier, const void *t
|
||||
|
||||
espeak_ng_STATUS status;
|
||||
if (translator == NULL) {
|
||||
status = espeak_SetVoiceByName("en");
|
||||
status = espeak_ng_SetVoiceByName("en");
|
||||
if (status != ENS_OK)
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user