Header Files

DECtalk Software provides header files that contain all the public data structure definitions to which the DECtalk Software API refers. They are ttsapi.h, dtmmedefs.h, and L_xx_PH.H, where xx is the language abbreviation for each of the supported languages. When DECtalk Software is installed, these files are in /usr/include/dtk.

·      ttsapi.h contains definitions of constants used in the DECtalk Software API calls, data structures that define the buffers that DECtalk Software returns, and the API call prototype definitions.

·      dtmmedefs.h contains the basic data structure definitions used by DECtalk Software. It also contains definitions of error codes and audio formats. This file enables you to compile, link, and run certain DECtalk Software programs even if Multimedia Services for Tru64 UNIX is not installed. Specifically, if you are writing an application program that does not use the audio drivers but you want to use DECtalk Software to produce synthesized speech buffers using the TextToSpeechOpenInMemory call, you can use dtmmedefs.h to circumvent the requirement for Multimedia Services for Tru64 UNIX.

·      L_ALL_PH.H contains all phoneme codes for all supported languages. (Before DECtalk Version 4.61, a separate L_XX_PH.H file was provided per language.) Within L_ALL_PH.H, phonemes are listed with a language prefix, XX_, where XX_ is one of the following:

US_

English (United States)

GR_

German

SP_

Castilian Spanish

LA_

Latin American Spanish

UK_

English (United Kingdom)

FR_

French

btn_mini.gif Related topics