diff --git a/src/libespeak-ng/synthdata.c b/src/libespeak-ng/synthdata.c index 9b2db92e..eb7fce64 100644 --- a/src/libespeak-ng/synthdata.c +++ b/src/libespeak-ng/synthdata.c @@ -1258,7 +1258,6 @@ void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_ memcpy(&worddata->prev_vowel, &plist[0], sizeof(PHONEME_LIST)); } -#ifdef _ESPEAKEDIT plist->std_length = phdata->pd_param[i_SET_LENGTH]; if(phdata->sound_addr[0] != 0) { @@ -1270,7 +1269,6 @@ void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_ plist->phontab_addr = phdata->sound_addr[1]; // WAV address plist->sound_param = phdata->sound_param[1]; } -#endif } // end of InterpretPhoneme diff --git a/src/libespeak-ng/synthesize.c b/src/libespeak-ng/synthesize.c index d6c7633f..c602efab 100644 --- a/src/libespeak-ng/synthesize.c +++ b/src/libespeak-ng/synthesize.c @@ -1459,9 +1459,7 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume) { case phPAUSE: DoPause(p->length,0); -#ifdef _ESPEAKEDIT p->std_length = p->ph->std_length; -#endif break; case phSTOP: diff --git a/src/libespeak-ng/synthesize.h b/src/libespeak-ng/synthesize.h index d8e8b24b..461f5398 100644 --- a/src/libespeak-ng/synthesize.h +++ b/src/libespeak-ng/synthesize.h @@ -227,11 +227,9 @@ typedef struct { unsigned char newword; // bit 0=start of word, bit 1=end of clause, bit 2=start of sentence unsigned char pitch1; unsigned char pitch2; -#ifdef _ESPEAKEDIT unsigned char std_length; unsigned int phontab_addr; int sound_param; -#endif } PHONEME_LIST;