mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-29 14:01:04 +00:00
Fix calling espeak_Synth without first setting a voice, with tests.
This commit is contained in:
@@ -399,7 +399,7 @@ static espeak_ng_STATUS Synthesize(unsigned int unique_identifier, const void *t
|
||||
count_samples = 0;
|
||||
|
||||
if (translator == NULL)
|
||||
espeak_SetVoiceByName("default");
|
||||
espeak_SetVoiceByName("en");
|
||||
|
||||
if (p_decoder == NULL)
|
||||
p_decoder = create_text_decoder();
|
||||
|
||||
Reference in New Issue
Block a user