mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 22:53:38 +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:
+5
-1
@@ -386,13 +386,17 @@ static int sleep_until_timeout_or_stop_request(uint32_t time_in_ms)
|
||||
ENTER("sleep_until_timeout_or_stop_request");
|
||||
|
||||
int a_stop_is_required=0;
|
||||
struct timespec ts, to;
|
||||
struct timespec ts;
|
||||
struct timeval tv;
|
||||
int err=0;
|
||||
|
||||
clock_gettime2( &ts);
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
struct timespec to;
|
||||
to.tv_sec = ts.tv_sec;
|
||||
to.tv_nsec = ts.tv_nsec;
|
||||
#endif
|
||||
|
||||
add_time_in_ms( &ts, time_in_ms);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user