TextToSpeechSync

The TextToSpeech Sync call blocks until all previously queued text has been processed.

Syntax

MMRESULT TextToSpeechSync

(LPTTS_HANDLE_T phTTS)

Parameters

LPTTS_HANDLE_T phTTS

Specifies a text-to-speech handle.

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:

Constants

Description

MMSYSERR_NOERROR

Normal successful completion (zero).

MMSYSERR_ERROR

Unable to complete queued text.

MMSYSERR_INVALHANDLE

The text-to-speech handle was invalid.

 

 

Comments

This call automatically resumes audio output if the text-to-speech system is in a paused state by a previously issued TextToSpeechPause(call.

See Also

btn_mini.gif TextToSpeechPause