@@ -97,6 +97,9 @@ espeak_ng_SpeakKeyName(const char *key_name); | |||
ESPEAK_NG_API espeak_ng_STATUS | |||
espeak_ng_SpeakCharacter(wchar_t character); | |||
ESPEAK_NG_API espeak_ng_STATUS | |||
espeak_ng_Cancel(void); | |||
ESPEAK_NG_API espeak_ng_STATUS | |||
espeak_ng_CompileDictionary(const char *dsource, | |||
const char *dict_name, |
@@ -141,6 +141,11 @@ ESPEAK_API espeak_ERROR espeak_SetPunctuationList(const wchar_t *punctlist) | |||
return status_to_espeak_error(espeak_ng_SetPunctuationList(punctlist)); | |||
} | |||
ESPEAK_API espeak_ERROR espeak_Cancel(void) | |||
{ | |||
return status_to_espeak_error(espeak_ng_Cancel()); | |||
} | |||
ESPEAK_API void espeak_CompileDictionary(const char *path, FILE *log, int flags) | |||
{ | |||
espeak_ng_CompileDictionary(path, dictionary_name, log, flags); |
@@ -808,7 +808,7 @@ ESPEAK_API const char *espeak_TextToPhonemes(const void **textptr, int textmode, | |||
return GetTranslatedPhonemeString(phonememode); | |||
} | |||
ESPEAK_API espeak_ERROR espeak_Cancel(void) | |||
ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Cancel(void) | |||
{ | |||
#ifdef USE_ASYNC | |||
fifo_stop(); | |||
@@ -822,7 +822,7 @@ ESPEAK_API espeak_ERROR espeak_Cancel(void) | |||
for (int i = 0; i < N_SPEECH_PARAM; i++) | |||
SetParameter(i, saved_parameters[i], 0); | |||
return EE_OK; | |||
return ENS_OK; | |||
} | |||
ESPEAK_API int espeak_IsPlaying(void) |