Browse Source

code cleanup: remove unnecessary references to out_start.

Unsigned char *out_start is a global only used in speech.c.
master
Juho Hiltunen 5 years ago
parent
commit
9232f1911e

+ 0
- 1
src/libespeak-ng/klatt.c View File

@@ -40,7 +40,6 @@
#include "klatt.h"

extern unsigned char *out_ptr;
extern unsigned char *out_start;
extern unsigned char *out_end;
static int nsamples;
static int sample_count;

+ 1
- 0
src/libespeak-ng/speech.c View File

@@ -65,6 +65,7 @@

unsigned char *outbuf = NULL;
int outbuf_size = 0;
unsigned char *out_start;

espeak_EVENT *event_list = NULL;
int event_list_ix = 0;

+ 0
- 1
src/libespeak-ng/synthesize.h View File

@@ -482,7 +482,6 @@ extern int formant_rate[]; // max rate of change of each formant
extern SPEED_FACTORS speed;

extern unsigned char *out_ptr;
extern unsigned char *out_start;
extern unsigned char *out_end;
extern espeak_EVENT *event_list;
extern t_espeak_callback *synth_callback;

+ 0
- 1
src/libespeak-ng/wavegen.c View File

@@ -113,7 +113,6 @@ static double minus_pi_t;
static double two_pi_t;

unsigned char *out_ptr;
unsigned char *out_start;
unsigned char *out_end;

espeak_ng_OUTPUT_HOOKS* output_hooks = NULL;

Loading…
Cancel
Save