[1.46.37]

Fixes for different sample rates.
Fix bug in 1.46.36 where pause at end of a sentence was missing.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@303 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2013-02-20 19:19:43 +00:00
parent 9172b74343
commit 182d88f81e
9 changed files with 2458 additions and 2455 deletions
+1 -3
View File
@@ -1377,7 +1377,7 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
DoPause(0,0); // isolate from the previous clause
}
while(ix < (*n_ph))
while((ix < (*n_ph)) && (ix < N_PHONEME_LIST-2))
{
p = &phoneme_list[ix];
@@ -1395,8 +1395,6 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
prev = &phoneme_list[ix-1];
next = &phoneme_list[ix+1];
next2 = &phoneme_list[ix+2];
if(next2->ph == NULL)
break;
if(p->synthflags & SFLAG_EMBEDDED)
{