From a51717346c528e3bde8f8d9bd710dc41aa400010 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 3 Feb 2016 21:23:03 +0000 Subject: [PATCH] SpeakNextClause should not call WavegenOpenSound. This function call does not affect the audio output in non-async modes. Audio output in that case is handled within the SynthOnTimer helper function. --- src/libespeak-ng/synthesize.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libespeak-ng/synthesize.c b/src/libespeak-ng/synthesize.c index 8b7617b0..4723dd3f 100644 --- a/src/libespeak-ng/synthesize.c +++ b/src/libespeak-ng/synthesize.c @@ -1614,7 +1614,6 @@ int SpeakNextClause(FILE *f_in, const void *text_in, int control) } Generate(phoneme_list, &n_phoneme_list, 0); - WavegenOpenSound(); if (voice_change != NULL) { // voice change at the end of the clause (i.e. clause was terminated by a voice change)