mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
code cleanup: const embedded_default
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user