Partager via


SPVESACTIONS

This enumeration defines real-time actions. It helps the TTS engine find out what action requests have been made by an application. Actions are retrieved by the ISpTTSEngineSite::GetActions method.

typedef enum SPVESACTIONS{
  SPVES_CONTINUE = 0,
  SPVES_ABORT = ( 1L << 0 ),
  SPVES_SKIP = ( 1L << 1 ),
  SPVES_RATE = ( 1L << 2 ),
  SPVES_VOLUME = ( 1L << 3 )
} SPVESACTIONS;

Elements

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.

See Also

SAPI Enumerations

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.