[1.26.01 Add "options" parameter to espeak_Initialize.

Add callback event: espeakEVENT_PHONEME


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@39 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-06-08 13:37:07 +00:00
parent cbfc3e0670
commit e35e573490
8 changed files with 30 additions and 15 deletions
+5 -1
View File
@@ -1101,7 +1101,11 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume)
if(p->prepause > 0)
DoPause(p->prepause);
// printf("phoneme [%s]\n",WordToString(p->ph->mnemonic));
if(option_phoneme_events)
{
DoMarker(espeakEVENT_PHONEME, (p->sourceix & 0x7ff) + clause_start_char, 0, p->ph->mnemonic);
}
switch(p->type)
{
case phPAUSE: