mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@122 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -430,7 +430,10 @@ int MbrolaSynth(char *p_mbrola)
|
||||
out_ptr = outbuf + len*2;
|
||||
|
||||
if(event_list)
|
||||
{
|
||||
event_list[event_list_ix].type = espeakEVENT_LIST_TERMINATED; // indicates end of event list
|
||||
event_list[event_list_ix].user_data = 0;
|
||||
}
|
||||
count_samples += len;
|
||||
finished = synth_callback((short *)outbuf, len, event_list);
|
||||
event_list_ix=0;
|
||||
@@ -475,7 +478,10 @@ int MbrolaSynth(char *p_mbrola)
|
||||
out_ptr += (len*2);
|
||||
|
||||
if(event_list)
|
||||
{
|
||||
event_list[event_list_ix].type = espeakEVENT_LIST_TERMINATED; // indicates end of event list
|
||||
event_list[event_list_ix].user_data = 0;
|
||||
}
|
||||
count_samples += len;
|
||||
finished = synth_callback((short *)outbuf, len, event_list);
|
||||
event_list_ix=0;
|
||||
|
||||
Reference in New Issue
Block a user