XSpeechSynthesizerVoiceInformation
Provides information about a voice: an installed speech synthesis engine.Syntax
Members
DescriptionType: const char* The voice’s description that’s based on a combination of DisplayName and Language. DisplayName
Type: const char* The display name of the voice. Gender
Type: XSpeechSynthesizerVoiceGender The gender of the voice. VoiceId
Type: const char* The unique ID of the voice. Language
Type: const char* The voice’s language, represented by a normalized BCP-47 language tag.
Remarks
The XSpeechSynthesierVoiceInformation structure represents information about an installed speech synthesis engine, or voice; the information includes the voice’s gender and language. Use the value of VoiceId to identify an installed voice when calling the XSpeechSynthesizerSetCustomVoice function. For an example that demonstrates how to use the XSpeechSynthesizerVoiceInformation structure, see XSpeechSynthesizerEnumerateInstalledVoices.Requirements
Header: XSpeechSynthesizer.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
XAccessibilityXSpeechSynthesizerCreateStreamFromText
XSpeechSynthesizer
