XSpeechSynthesizerVoiceGender
Indicates the gender of a voice.Syntax
Constants
Remarks
The gender of an installed speech synthesis engine, or voice, is indicated in the XSpeechSynthesizerVoiceInformation structure by a constant from this enumeration. To enumerate and retrieve information about the voices installed on the current device, call the XSpeechSynthesizerEnumerateInstalledVoices function along with the XSpeechSynthesizerInstalledVoicesCallback callback function. The latter receives an XSpeechSynthesizerVoiceInformation structure for an installed voice and is called once for each voice installed on the current device. For an example that demonstrates how to use the XSpeechSynthesizerVoiceGender enumeration, see XSpeechSynthesizerEnumerateInstalledVoices.Requirements
Header: XSpeechSynthesizer.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
XAccessibilityXSpeechSynthesizerInstalledVoicesCallback
XSpeechSynthesizerVoiceInformation
XSpeechSynthesizer
