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.

Header files for the phoneme codes are, as follows:

L_US_PH.H | English (United States)
L_SP_PH.H | Spanish
L_GR_PH.H | German
L_UK_PH.H | English (United Kingdom)

Related topics