Browse Source

speech.c: Fix -Wmissing-prototypes warnings.

master
Reece H. Dunn 7 years ago
parent
commit
7ea0d0d7e9
1 changed files with 12 additions and 1 deletions
  1. 12
    1
      src/include/espeak-ng/speak_lib.h

+ 12
- 1
src/include/espeak-ng/speak_lib.h View File

@@ -38,7 +38,7 @@
#define ESPEAK_API
#endif

#define ESPEAK_API_REVISION 10
#define ESPEAK_API_REVISION 12
/*
Revision 2
Added parameter "options" to eSpeakInitialize()
@@ -68,6 +68,12 @@ Revision 9 30.May.2013
Revision 10 29.Aug.2014
Changed phonememode parameter to espeak_TextToPhonemes() and espeak_SetPhonemeTrace

Revision 11 (espeak-ng)
Made ESPEAK_API import/export symbols correctly on Windows.

Revision 12 (espeak-ng)
Exposed espeak_SetPhonemeCallback. This is available in eSpeak, but was not exposed in this header.

*/
/********************/
/* Initialization */
@@ -260,6 +266,11 @@ int UriCallback(int type, const char *uri, const char *base);
occurs. The calling program can then play the sound at that point.
*/

#ifdef __cplusplus
extern "C"
#endif
ESPEAK_API void espeak_SetPhonemeCallback(int (*PhonemeCallback)(const char *));


/********************/
/* Synthesis */

Loading…
Cancel
Save