VoiceInfo-Klasse

Enthält Informationen zu Synthesestimmeinformationen, die in Version 1.17.0 aktualisiert wurden.

Elemente

Name

Syntax: public const std::string & Name;

Sprachname.

Locale

Syntax: public const std::string & Locale;

Gebietsschema der Stimme.

ShortName

Syntax: public const std::string & ShortName;

Kurzname.

LocalName

Syntax: public const std::string & LocalName;

Lokaler Name.

Geschlecht

Syntax: public const SynthesisVoiceGender & Gender;

Geschlecht. In Version 1.17.0 hinzugefügt.

VoiceType

Syntax: public const SynthesisVoiceType & VoiceType;

Lokaler Name.

StyleList

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

Formatvorlagenliste.

VoicePath

Syntax: public const std::string & VoicePath;

Der VoIP-Pfad ist nur für Offlinestimme gültig.

Status

Syntax: public const SynthesisVoiceStatus & Status;

Status der Stimme.

Eigenschaften

Syntax: public const PropertyCollection & Properties;

Sammlung zusätzlicher VoiceInfo-Eigenschaften.

VoiceInfo

Syntax: public inline explicit VoiceInfo ( SPXRESULTHANDLE hresult );

Erstellt eine neue Instanz mithilfe des bereitgestellten Handles.

Die Parameter

  • hresult Ergebnisziehpunkt.

Operator SPXRESULTHANDLE

Syntax: public inline explicit operator SPXRESULTHANDLE ( );

Expliziter Konvertierungsoperator.

Rückgaben

Ein Handle.

~VoiceInfo

Syntax: public inline ~VoiceInfo ( );

Destruktor.