phoneme: add a phoneme_add_feature internal API method.

This commit is contained in:
Reece H. Dunn
2017-01-25 07:52:39 +00:00
parent 0765c4102d
commit f76d2558c9
6 changed files with 66 additions and 0 deletions
+3
View File
@@ -121,6 +121,9 @@ ESPEAK_NG_API void espeak_ng_GetStatusCodeMessage(espeak_ng_STATUS status, char
case ENS_EMPTY_PHONEME_MANIFEST:
strncpy0(buffer, "The phoneme manifest file does not contain any phonemes", length);
break;
case ENS_UNKNOWN_PHONEME_FEATURE:
strncpy0(buffer, "The phoneme feature is not recognised", length);
break;
default:
if ((status & ENS_GROUP_MASK) == ENS_GROUP_ERRNO)
strerror_r(status, buffer, length);