class VoiceInfo

Contains information about synthesis voice info Added in version 1.16.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.

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 const PropertyCollection & 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.