> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XSpeechSynthesizerVoiceInformation

> XSpeechSynthesizerVoiceInformation

# XSpeechSynthesizerVoiceInformation

Proporciona información sobre una *voz*: un motor de síntesis de voz instalado.

## Sintaxis

```cpp theme={null}
typedef struct XSpeechSynthesizerVoiceInformation {  
    const char* Description;  
    const char* DisplayName;  
    XSpeechSynthesizerVoiceGender Gender;  
    const char* VoiceId;  
    const char* Language;  
} XSpeechSynthesizerVoiceInformation  
```

### Miembros

*Description*\
Tipo: const char\*

La descripción de la voz, que se basa en una combinación de *DisplayName* y *Language*.

*DisplayName*\
Tipo: const char\*

El nombre para mostrar de la voz.

*Gender*\
Tipo: [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)

El género de la voz.

*VoiceId*\
Tipo: const char\*

El identificador único de la voz.

*Language*\
Tipo: const char\*

El idioma de la voz, representado por una [etiqueta de idioma BCP-47](https://tools.ietf.org/html/bcp47) normalizada.

## Comentarios

La estructura **XSpeechSynthesierVoiceInformation** representa información sobre un motor de síntesis de voz instalado, o *voz*; la información incluye el género y el idioma de la voz. Use el valor de *VoiceId* para identificar una voz instalada al llamar a la función [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md).

Para ver un ejemplo que muestra cómo usar la estructura **XSpeechSynthesizerVoiceInformation**, consulte [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md).

## Requisitos

**Encabezado:** XSpeechSynthesizer.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[XAccessibility](https://docs.xbox.com/es/reference/system/xaccessibility/xaccessibility_members.md)\
[XSpeechSynthesizerCreateStreamFromText](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizercreatestreamfromtext.md)\
[XSpeechSynthesizer](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/xspeechsynthesizer_members.md)


## Related topics

- [XSpeechSynthesizerInstalledVoicesCallback](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerinstalledvoicescallback.md)
- [XSpeechSynthesizerVoiceGender](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/enums/xspeechsynthesizervoicegender.md)
- [XSpeechSynthesizerEnumerateInstalledVoices](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizerenumerateinstalledvoices.md)
- [XSpeechSynthesizerSetCustomVoice](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetcustomvoice.md)
- [XSpeechSynthesizerSetDefaultVoice](https://docs.xbox.com/es/reference/system/xspeechsynthesizer/functions/xspeechsynthesizersetdefaultvoice.md)
