Browse Source

Move outbuf_size to where it is actually used.

master
Reece H. Dunn 8 years ago
parent
commit
6ab1314843
3 changed files with 1 additions and 2 deletions
  1. 1
    0
      src/libespeak-ng/speech.c
  2. 0
    1
      src/libespeak-ng/synthesize.h
  3. 0
    1
      src/libespeak-ng/wavegen.c

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

@@ -58,6 +58,7 @@
#include "event.h"

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

espeak_EVENT *event_list = NULL;
int event_list_ix = 0;

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

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

extern long count_samples;
extern int outbuf_size;
extern unsigned char *out_ptr;
extern unsigned char *out_start;
extern unsigned char *out_end;

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

@@ -107,7 +107,6 @@ static double two_pi_t;
unsigned char *out_ptr;
unsigned char *out_start;
unsigned char *out_end;
int outbuf_size = 0;

// the queue of operations passed to wavegen from sythesize
intptr_t wcmdq[N_WCMDQ][4];

Loading…
Cancel
Save