class SpeechSynthesisVisemeEventArgs
: public EventArgs
語音合成viseme事件自變數的類別。 已在1.16.0版中新增。
成員
結果編號
語法:public const std::string & ResultId;
唯一的結果標識碼。已在1.25.0版中新增。
AudioOffset
語法:public uint64_t AudioOffset;
音訊位移,以刻度為單位(100 奈秒)。
VisemeId
語法:public uint32_t VisemeId;
Viseme識別碼。
動畫
語法:public const std::string & Animation;
動畫可以是 svg 或其他格式。
SpeechSynthesisVisemeEventArgs
語法:public inline explicit SpeechSynthesisVisemeEventArgs ( SPXEVENTHANDLE hevent );
構造 函數。
參數
-
hevent事件句柄
~SpeechSynthesisVisemeEventArgs
語法:public inline virtual ~SpeechSynthesisVisemeEventArgs ( );