类扬声器::VoiceProfile
class Speaker::VoiceProfile
: public std::enable_shared_from_this< VoiceProfile >
VoiceProfile 的类。 在版本 1.12.0 中添加。
成员
~VoiceProfile
语法: public inline virtual ~VoiceProfile ( );
析构函数。
GetId
语法: public inline const SPXSTRING GetId ( ) const;
获取语音配置文件 ID。
返回
语音配置文件 ID。
GetType
语法: public inline VoiceProfileType GetType ( ) const;
从 VoiceProfile 获取 VoiceProfileType。
返回
运算符 SPXVOICEPROFILEHANDLE
语法: public inline explicit operator SPXVOICEPROFILEHANDLE ( );
内部。 显式转换运算符。
返回
句柄。
FromId
语法: public inline static std::shared_ptr< VoiceProfile > FromId ( const SPXSTRING & Id , VoiceProfileType voiceProfileType );