diff --git a/src/libespeak-ng/wavegen.c b/src/libespeak-ng/wavegen.c index 3bcda8b1..c19ea69e 100644 --- a/src/libespeak-ng/wavegen.c +++ b/src/libespeak-ng/wavegen.c @@ -1397,14 +1397,13 @@ static int SpeedUp(short *outbuf, int length_in, int length_out, int end_of_text int WavegenFill(void) { int finished; - - finished = WavegenFill2(); - -#if HAVE_SONIC_H unsigned char *p_start; p_start = out_ptr; + finished = WavegenFill2(); + +#if HAVE_SONIC_H if (sonicSpeed > 1.0) { int length; int max_length;