@@ -277,7 +277,6 @@ static Translator *NewTranslator(void) | |||
for (ix = 0; ix < 8; ix++) { | |||
tr->stress_amps[ix] = stress_amps2[ix]; | |||
tr->stress_amps_r[ix] = stress_amps2[ix] - 1; | |||
tr->stress_lengths[ix] = stress_lengths2[ix]; | |||
} | |||
memset(&(tr->langopts), 0, sizeof(tr->langopts)); |
@@ -555,7 +555,6 @@ typedef struct { | |||
int phoneme_tab_ix; | |||
unsigned char stress_amps[8]; | |||
unsigned char stress_amps_r[8]; | |||
short stress_lengths[8]; | |||
int dict_condition; // conditional apply some pronunciation rules and dict.lookups | |||
int dict_min_size; |
@@ -927,7 +927,6 @@ voice_t *LoadVoice(const char *vname, int control) | |||
translator->stress_lengths[ix] += stress_add[ix]; | |||
for (ix = 0; ix < stress_amps_set; ix++) { | |||
translator->stress_amps[ix] = stress_amps[ix]; | |||
translator->stress_amps_r[ix] = stress_amps[ix] -1; | |||
} | |||
return voice; |