mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
[1.45.45]
Fixed bug where SSML voice change didn't remember an initially specified Klatt variant. Removed some unused variables and redundant initializations. Patch to fix a spike from Klatt function setzeroabc() git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@275 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -153,6 +153,7 @@ static int start_mbrola(const char *voice_path)
|
||||
snprintf(mbr_errorbuf, sizeof(mbr_errorbuf),
|
||||
"dup2(): %s\n", strerror(errno));
|
||||
written = write(p_stderr[1], mbr_errorbuf, strlen(mbr_errorbuf));
|
||||
(void)written; // suppress 'variable not used' warning
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
@@ -170,6 +171,7 @@ static int start_mbrola(const char *voice_path)
|
||||
snprintf(mbr_errorbuf, sizeof(mbr_errorbuf),
|
||||
"mbrola: %s\n", strerror(errno));
|
||||
written = write(2, mbr_errorbuf, strlen(mbr_errorbuf));
|
||||
(void)written; // suppress 'variable not used' warning
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user