Dela via


klass SpeechSynthesisWordBoundaryEventArgs

class SpeechSynthesisWordBoundaryEventArgs
  : public EventArgs

Klass för talsyntesens ordgränshändelseargument. Har lagts till i version 1.7.0.

Medlemmar

ResultId

Syntax: public const std::string & ResultId;

Unikt resultat-ID. Har lagts till i version 1.25.0.

AudioOffset

Syntax: public uint64_t AudioOffset;

Ljudförskjutning för Word-gräns.

Varaktighet

Syntax: public const std::chrono::milliseconds & Duration;

Tidsåtgång för ljudet. Har lagts till i version 1.21.0.

TextOffset

Syntax: public uint32_t TextOffset;

Textförskjutning för Word-gräns.

WordLength

Syntax: public uint32_t WordLength;

Ordlängd för ordgräns.

Text

Syntax: public const std::string & Text;

Texten. Har lagts till i version 1.21.0.

BoundaryType

Syntax: public const SpeechSynthesisBoundaryType & BoundaryType;

Ordgränstyp. Har lagts till i version 1.21.0.

SpeechSynthesisWordBoundaryEventArgs

Syntax: public inline explicit SpeechSynthesisWordBoundaryEventArgs ( SPXEVENTHANDLE hevent );

Konstruktor.

Parameterar

  • hevent händelsereferens

~SpeechSynthesisWordBoundaryEventArgs

Syntax: public inline virtual ~SpeechSynthesisWordBoundaryEventArgs ( );