mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 05:46:19 +00:00
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@122 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -502,6 +502,8 @@ static int WaveCallback(const void *inputBuffer, void *outputBuffer,
|
||||
{
|
||||
// synchronous-playback mode, allow the calling process to abort the speech
|
||||
event_list[event_list_ix].type = espeakEVENT_LIST_TERMINATED; // indicates end of event list
|
||||
event_list[event_list_ix].user_data = 0;
|
||||
|
||||
if(synth_callback(NULL,0,event_list) == 1)
|
||||
{
|
||||
SpeakNextClause(NULL,NULL,2); // stop speaking
|
||||
|
||||
Reference in New Issue
Block a user