Share via


SPVESACTIONS (SAPI 5.4)

Microsoft Speech API 5.4

SPVESACTIONS

SPVESACTIONS lists values returned by the ISpTTSEngineSite::GetActions call. From these values, the TTS engine receives the real-time action requests that have been made by an application.

  
    typedef enum SPVESACTIONS
{
    SPVES_CONTINUE,
    SPVES_ABORT,
    SPVES_SKIP,
    SPVES_RATE,
    SPVES_VOLUME
} SPVESACTIONS;

Elements

  • SPVES_CONTINUE
    Default value - indicates SAPI has not received any new information for the engine, and it should continue the synthesis process.
  • SPVES_ABORT
    Flag indicating the engine should stop the synthesis process, and return from the current speak call immediately.
  • SPVES_SKIP
    Flag indicating the application has requested a real-time skip. The engine should call ISpTTSEngineSite::GetSkipInfo.
  • SPVES_RATE
    Flag indicating the application has requested a real-time rate change. The engine should call ISpTTSEngineSite::GetRate.
  • SPVES_VOLUME
    Flag indicating the application has requested a real-time volume change. The engine should call ISpTTSEngineSite::GetVolume.