


What's New in DECtalk V4.4 Programming?
Support for
A new startup function,
A new document, the DECtalk™ Software Reference Guide, has been added. This guide provides an
Changes have been made to the UNIX code to allow for posix thread changes.
Implementation of the
The
New license specific return values have been added to the startup functions,
The ttsapi header file (ttsapi.h) was modified for 4.4. The following is a
list of changes that were made.
| Symbol in TTSAPI.H
| Old Value
| New Value
|
| OUTPUT_TO_AF_DEVICE
| 01000000
| no longer exists
|
| OUTPUT_TO_MME_DEVICE
| 80000000
| no longer exists
|
| OWN_AUDIO_DEVICE
| 10000000
| 00000001
|
| REPORT_OPEN_ERROR
| 20000000
| 00000002
|
| DO_NOT_USE_AUDIO_DEVICE
| 40000000
| 80000000
|
| Old Symbol
| Value
| New Symbol
| Value
|
|
|
|
|
|
| INDEX_MARK
| 0
| TTS_MSG_INDEX_MARK
| 1
|
| MESSAGE_BUFFER
| 1
| TTS_MSG_BUFFER
| 0
|
|
|
| TTS_MSG_STATUS
| 2
|
The old callback routine, defined in DECtalk Software 4.2A was defined as:
| Callback (DWORD param1, LONG param2, LONG userDefined)
|
| param1:
| Type of callback (INDEX_MARK or MEMORY_BUFFER) or error
|
| param2:
| For INDEX_MARK, this would be the index mark value
|
|
| For MEMORY_BUFFER, this would be a pointer to the memory buffer
|
| userDefined:
| Pointer to user-defined data that was passed in TextToSpeechStartup()
|
| Callback (DWORD param1, LONG param2, LONG userDefined, UINT uiMsg)
|
| param1:
| For TTS_MSG_STATUS, this will indicate the error/status code
|
| param2:
| For TTS_MSG_BUFFER, this will be a pointer to the memory buffer
|
|
| For TTS_MSG_INDEX_MARK, this will be the index mark value
|
|
| For TTS_MSG_STATUS, this is additional information for the error/status.
|
| userDefined:
| Pointer to user-defined data that was passed in TextToSpeechStartup()
|
| uiMsg:
| TTS_MSG_BUFFER for memory buffers
|
|
| TTS_MSG_STATUS for error and status information
|
|
| TTS_MSG_INDEX_MARK for index marks
|
The 8 khz, 16 bit mono output is now supported in the functions