mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 06:32:20 +00:00
[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:
+5
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user