class Speaker::VoiceProfile

class Speaker::VoiceProfile
  : public std::enable_shared_from_this< VoiceProfile >

Class for VoiceProfile. Added in version 1.12.0.

Members

~VoiceProfile

Syntax: public inline virtual ~VoiceProfile ( );

Destructor.

GetId

Syntax: public inline const SPXSTRING GetId ( ) const;

Get a voice profile id.

Returns

the voice profile id.

GetType

Syntax: public inline VoiceProfileType GetType ( ) const;

Get the VoiceProfileType from the VoiceProfile.

Returns

operator SPXVOICEPROFILEHANDLE

Syntax: public inline explicit operator SPXVOICEPROFILEHANDLE ( );

Internal. Explicit conversion operator.

Returns

A handle.

FromId

Syntax: public inline static std::shared_ptr< VoiceProfile > FromId ( const SPXSTRING & Id , VoiceProfileType voiceProfileType );