Create an espeak-ng version of espeak_Terminate.

This commit is contained in:
Reece H. Dunn
2016-01-02 18:24:53 +00:00
parent 4ba60623e8
commit d5fdd0eb92
3 changed files with 10 additions and 2 deletions
+3
View File
@@ -103,6 +103,9 @@ espeak_ng_Cancel(void);
ESPEAK_NG_API espeak_ng_STATUS
espeak_ng_Synchronize(void);
ESPEAK_NG_API espeak_ng_STATUS
espeak_ng_Terminate(void);
ESPEAK_NG_API espeak_ng_STATUS
espeak_ng_CompileDictionary(const char *dsource,
const char *dict_name,
+5
View File
@@ -151,6 +151,11 @@ ESPEAK_API espeak_ERROR espeak_Synchronize(void)
return status_to_espeak_error(espeak_ng_Synchronize());
}
ESPEAK_API espeak_ERROR espeak_Terminate(void)
{
return status_to_espeak_error(espeak_ng_Terminate());
}
ESPEAK_API void espeak_CompileDictionary(const char *path, FILE *log, int flags)
{
espeak_ng_CompileDictionary(path, dictionary_name, log, flags);
+2 -2
View File
@@ -851,7 +851,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Synchronize(void)
extern void FreePhData(void);
extern void FreeVoiceList(void);
ESPEAK_API espeak_ERROR espeak_Terminate(void)
ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void)
{
#ifdef USE_ASYNC
fifo_stop();
@@ -871,7 +871,7 @@ ESPEAK_API espeak_ERROR espeak_Terminate(void)
FreePhData();
FreeVoiceList();
return EE_OK;
return ENS_OK;
}
ESPEAK_API const char *espeak_Info(const char **ptr)