LVCA_AddOneTimeTTSAudioA/LVCA_AddOneTimeTTSAudioW

LVCA_API BOOL WINAPI LVCA_AddOneTimeTTSAudioA(HANDLE hCA, LPCSTR Text);

LVCA_API BOOL WINAPI LVCA_AddOneTimeTTSAudioW(HANDLE hCA, LPCWSTR Text);

Defined as:

LVCA_AddOneTimeTTSAudio

Return Value:

If successful,LVCA_AddOneTimeTTSAudioA/LVCA_AddOneTimeTTSAudioW returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Supported on Events:

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

Text (OUT) Text to have TTS engine read.

Notes:

The currently selected SAPI 5.1 compliant TTS engine will receive the command MS TTS Engine 5.1 must be installed

TTS voice may be changed via the windows control panel


Complete Help Topic List | Speech Platform Product Information