Browse Source

Always build espeakedit specific data in libespeak-ng.

master
Reece H. Dunn 9 years ago
parent
commit
96cc9dbae2
3 changed files with 0 additions and 6 deletions
  1. 0
    2
      src/libespeak-ng/synthdata.c
  2. 0
    2
      src/libespeak-ng/synthesize.c
  3. 0
    2
      src/libespeak-ng/synthesize.h

+ 0
- 2
src/libespeak-ng/synthdata.c View File

@@ -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



+ 0
- 2
src/libespeak-ng/synthesize.c View File

@@ -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:

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

@@ -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;



Loading…
Cancel
Save