ISpTTSEngine (Windows Embedded CE 6.0)
1/6/2010
This interface defines the SAPI 5.0 text-to-speech (TTS) engine, a driver that is used for speech synthesis. SAPI calls this engine at its ISpTTSEngine::Speak method to render speech. SAPI itself performs the XML parsing of the input text stream.
Even though SAPI uses a free–threaded architecture, it always calls TTS engine objects on a single thread. SAPI ensures that parameter validation and thread synchronization have been performed properly before calling a TTS engine.
Applications never directly access TTS engines. All calls to an engine are made within a try-catch block to protect applications from faulting.
Methods
The following table shows the methods for the ISpTTSEngine interface.
Method | Description |
---|---|
Determines the output format the engine wants to use. |
|
Sets up the engine to render a text fragment list in the specified output format. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |