Delen via


klasse SpeechSynthesisWordBoundaryEventArgs

class SpeechSynthesisWordBoundaryEventArgs
  : public EventArgs

Klasse voor argumenten voor woordgrensgebeurtenis voor spraaksynthese. Toegevoegd in versie 1.7.0.

Leden

ResultId

Syntaxis: public const std::string & ResultId;

Unieke resultaat-id. Toegevoegd in versie 1.25.0.

AudioOffset

Syntaxis: public uint64_t AudioOffset;

Word boundary audio offset.

Duur

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

Tijdsduur van de audio. Toegevoegd in versie 1.21.0.

TextOffset

Syntaxis: public uint32_t TextOffset;

Tekstvervanging voor Word-grens.

WordLength

Syntaxis: public uint32_t WordLength;

Woordlengte voor woordgrens.

Tekst

Syntaxis: public const std::string & Text;

De tekst. Toegevoegd in versie 1.21.0.

BoundaryType

Syntaxis: public const SpeechSynthesisBoundaryType & BoundaryType;

Type woordgrens. Toegevoegd in versie 1.21.0.

SpeechSynthesisWordBoundaryEventArgs

Syntaxis: public inline explicit SpeechSynthesisWordBoundaryEventArgs ( SPXEVENTHANDLE hevent );

Bouwer.

Parameterwaarden

  • hevent gebeurtenis-handle

~SpeechSynthesisWordBoundaryEventArgs

Syntaxis: public inline virtual ~SpeechSynthesisWordBoundaryEventArgs ( );