Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
class SpeechSynthesisWordBoundaryEventArgs
: public EventArgs
Class for speech synthesis word boundary event arguments. Added in version 1.7.0.
Members
ResultId
Syntax: public const std::string & ResultId;
Unique result id. Added in version 1.25.0.
AudioOffset
Syntax: public uint64_t AudioOffset;
Word boundary audio offset.
Duration
Syntax: public const std::chrono::milliseconds & Duration;
Time duration of the audio. Added in version 1.21.0.
TextOffset
Syntax: public uint32_t TextOffset;
Word boundary text offset.
WordLength
Syntax: public uint32_t WordLength;
Word boundary word length.
Text
Syntax: public const std::string & Text;
The text. Added in version 1.21.0.
BoundaryType
Syntax: public const SpeechSynthesisBoundaryType & BoundaryType;
Word boundary type. Added in version 1.21.0.
SpeechSynthesisWordBoundaryEventArgs
Syntax: public inline explicit SpeechSynthesisWordBoundaryEventArgs ( SPXEVENTHANDLE hevent );
Constructor.
Parameters
heventEvent handle
~SpeechSynthesisWordBoundaryEventArgs
Syntax: public inline virtual ~SpeechSynthesisWordBoundaryEventArgs ( );