class VoiceInfo

Contains information about synthesis voice info Updated in version 1.17.0.

Members

Name

Syntax: public const std::string & Name;

Voice name.

Locale

Syntax: public const std::string & Locale;

Locale of the voice.

ShortName

Syntax: public const std::string & ShortName;

Short name.

LocalName

Syntax: public const std::string & LocalName;

Local name.

Gender

Syntax: public const SynthesisVoiceGender & Gender;

Gender. Added in version 1.17.0.

VoiceType

Syntax: public const SynthesisVoiceType & VoiceType;

Local name.

StyleList

Syntax: public const std::vector< std::string > & StyleList;

Style list.

VoicePath

Syntax: public const std::string & VoicePath;

Voice path, only valid for offline voices.

Properties

Syntax: public constPropertyCollection & Properties;

Collection of additional VoiceInfo properties.

VoiceInfo

Syntax: public inline explicit VoiceInfo ( SPXRESULTHANDLE hresult );

Creates a new instance using the provided handle.

Parameters

  • hresult Result handle.

operator SPXRESULTHANDLE

Syntax: public inline explicit operator SPXRESULTHANDLE ( );

Explicit conversion operator.

Returns

A handle.

~VoiceInfo

Syntax: public inline ~VoiceInfo ( );

Destructor.