Partager via


class Speaker ::VoiceProfile

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

Classe pour VoiceProfile. Ajouté dans la version 1.12.0.

Membres

~VoiceProfile

Syntaxe : public inline virtual ~VoiceProfile ( );

Destructeur.

GetId

Syntaxe : public inline const SPXSTRING GetId ( ) const;

Obtenir un ID de profil vocal.

Retours

ID du profil vocal.

GetType

Syntaxe : public inline VoiceProfileType GetType ( ) const;

Obtenez VoiceProfileType à partir de VoiceProfile.

Retours

operator SPXVOICEPROFILEHANDLE

Syntaxe : public inline explicit operator SPXVOICEPROFILEHANDLE ( );

Interne. Opérateur de conversion explicite.

Retours

Un handle.

FromId

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