Skip to main content

XSpeechSynthesizerVoiceGender

Indique le genre d’une voix.

Syntaxe

Constantes

Remarques

Le genre d’un moteur de synthèse vocale installé, ou voix, est indiqué dans la structure XSpeechSynthesizerVoiceInformation par une constante de cette énumération. Pour énumérer les voix installées sur l’appareil actuel et récupérer des informations à leur sujet, appelez la fonction XSpeechSynthesizerEnumerateInstalledVoices avec la fonction de rappel XSpeechSynthesizerInstalledVoicesCallback. Cette dernière reçoit une structure XSpeechSynthesizerVoiceInformation pour une voix installée et est appelée une fois pour chaque voix installée sur l’appareil actuel. Pour obtenir un exemple illustrant l’utilisation de l’énumération XSpeechSynthesizerVoiceGender, consultez XSpeechSynthesizerEnumerateInstalledVoices.

Configuration requise

En-tête : XSpeechSynthesizer.h Plateformes prises en charge : Windows, consoles de la famille XBOX One et consoles XBOX Series

Voir aussi

XAccessibility
XSpeechSynthesizerInstalledVoicesCallback
XSpeechSynthesizerVoiceInformation
XSpeechSynthesizer
Last modified on October 6, 2026