TextToSpeechGetCaps

The TextToSpeechGetCaps call lists the current capabilities of the DECtalk Software by filling in the structure of type TTS_CAPS_T. The caller must have space allocated for this structure before calling TextToSpeechGetCaps.

Syntax

MMRESULT TextToSpeechGetCaps

(LPTTS_CAPS_T lpTTScaps)

Parameters

LPTTS_CAPS_T lpTTScaps

Specifies a structure of type TTS_CAPS_T. This structure returns the capabilities of the text-to-speech system.

Return Value

This call returns a value of type MMRESULT. The value is zero if the call is successful. The return value is one of the following constants:

Constant

Description

MMSYSERR_NOERROR

Normal successful completion (zero).

MMSYSERR_INVALHANDLE

The text-to-speech handle was invalid.

MMSYSERR_ERROR

The pointer to the TTS_CAPS_T structure was invalid.

 

 

Comments

Information returned in the TTS_CAPS_T structure includes languages and proper-name pronunciation support, sample rate, minimum and maximum speaking rate, number of predefined speaking voices, character-set supported, and version number.