Browse Source

Remove unused phoneme flags.

master
Reece H. Dunn 8 years ago
parent
commit
5c96ad2359
2 changed files with 0 additions and 5 deletions
  1. 0
    2
      src/libespeak-ng/phoneme.h
  2. 0
    3
      src/libespeak-ng/synthdata.c

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

@@ -140,7 +140,6 @@ phoneme_feature_t phoneme_feature_from_string(const char *feature);
// phoneme properties
// bits 16-19 give place of articulation
#define phARTICULATION 0xf0000
#define phWAVE 0x01
#define phUNSTRESSED 0x02
#define phVOICELESS 0x08
#define phVOICED 0x10
@@ -148,7 +147,6 @@ phoneme_feature_t phoneme_feature_from_string(const char *feature);
#define phNOLINK 0x40
#define phTRILL 0x80
#define phPALATAL 0x200
#define phSINGLE_INSTN 0x1000 // this phoneme has a single instruction program, with an implicit Return
#define phBRKAFTER 0x4000 // [*] add a post-pause

#define phNONSYLLABIC 0x100000 // don't count this vowel as a syllable when finding the stress position

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

@@ -987,9 +987,6 @@ void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_
break;
}

if (ph->phflags & phSINGLE_INSTN)
end_flag = 1; // this phoneme has a one-instruction program, with an implicit Return

if ((end_flag == 1) && (n_return > 0)) {
// return from called procedure or phoneme
end_flag = 0;

Loading…
Cancel
Save