Browse Source

speak_lib.h: correct the updated signature of espeak_TextToPhonemes

master
Reece H. Dunn 12 years ago
parent
commit
c87a607d81
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      src/speak_lib.h

+ 1
- 5
src/speak_lib.h View File

#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
ESPEAK_API void espeak_TextToPhonemes(const void *text, char *buffer, int size, int textmode, int phonememode);
ESPEAK_API const char *espeak_TextToPhonemes(const void **textptr, int textmode, int phonememode);
/* Translates text into phonemes. Call espeak_SetVoiceByName() first, to select a language. /* Translates text into phonemes. Call espeak_SetVoiceByName() first, to select a language.
text: The text to translate, terminated by a zero character. text: The text to translate, terminated by a zero character.


buffer: Output buffer for the phoneme translation.

size: Size of the output buffer in bytes.

textmode: Type of character codes, one of: textmode: Type of character codes, one of:
espeakCHARS_UTF8 UTF8 encoding espeakCHARS_UTF8 UTF8 encoding
espeakCHARS_8BIT The 8 bit ISO-8859 character set for the particular language. espeakCHARS_8BIT The 8 bit ISO-8859 character set for the particular language.

Loading…
Cancel
Save