Browse Source

code cleanup: const embedded_default

master
Yury Popov 2 years ago
parent
commit
2ddb8ce2db
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/libespeak-ng/synthesize.h
  2. 1
    1
      src/libespeak-ng/wavegen.c

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

@@ -76,7 +76,7 @@ extern "C"

#define N_EMBEDDED_VALUES 15
extern int embedded_value[N_EMBEDDED_VALUES];
extern int embedded_default[N_EMBEDDED_VALUES];
extern const int embedded_default[N_EMBEDDED_VALUES];

#define N_KLATTP 10 // this affects the phoneme data file format
#define N_KLATTP2 14 // used in vowel files, with extra parameters for future extensions

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

@@ -118,7 +118,7 @@ int wcmdq_head = 0;
int wcmdq_tail = 0;

// pitch,speed,
int embedded_default[N_EMBEDDED_VALUES] = { 0, 50, espeakRATE_NORMAL, 100, 50, 0, 0, 0, espeakRATE_NORMAL, 0, 0, 0, 0, 0, 0 };
const int embedded_default[N_EMBEDDED_VALUES] = { 0, 50, espeakRATE_NORMAL, 100, 50, 0, 0, 0, espeakRATE_NORMAL, 0, 0, 0, 0, 0, 0 };
static int embedded_max[N_EMBEDDED_VALUES] = { 0, 0x7fff, 750, 300, 99, 99, 99, 0, 750, 0, 0, 0, 0, 4, 0 };

#if HAVE_SONIC_H

Loading…
Cancel
Save