mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 15:12:24 +00:00
[1.27.03] Windows, look for env variable ESPEAK_DATA_PATH.
espeakedit, fix crash in Compile_phoneme_data when there is no voices directory. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@58 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -581,7 +581,7 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
language_type = voicename;
|
||||
}
|
||||
|
||||
if(first_voice == NULL)
|
||||
if((first_voice == NULL) && (f_voice != NULL))
|
||||
{
|
||||
first_voice = ReadVoiceFile(f_voice,buf+strlen(path_voices),voicename);
|
||||
rewind(f_voice);
|
||||
|
||||
Reference in New Issue
Block a user