IVoiceText::StopSpeaking
This method halts text that is currently being spoken and flushes all pending text from the playback queue.
Syntax
HRESULT StopSpeaking(void);
Return Values
- NOERROR
- The method successfully halted the text being spoken and flushed all pending text from the playback queue.
- VTXTERR_INVALIDMODE
- The text-to-speech mode is invalid, or the application has not been registered to use the voice text on the site.
- VTXTERR_NOTENABLED
- Voice text is not enabled.
- VTXTERR_OUTOFMEM
- There is not enough memory.
Remarks
Calling the StopSpeaking method affects all applications using voice text on the site, because all applications share the same playback queue.
See Also
IVoiceText::Speak