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

# game_chat_thread_id

> game_chat_thread_id

# game\_chat\_thread\_id

Define los tipos de subprocesos que Game Chat 2 usa con fines internos.

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
enum class game_chat_thread_id  
{  
    audio,  
    networking,  
}  
```

<a id="constantsSection" />

## Constantes

| Constante  | Descripción                                                                                                                                                                                                                                                                                                    |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| audio      | Representa los subprocesos de audio internos de Game Chat 2.<br /><br /> Los subprocesos de audio internos de Game Chat son subprocesos de alta prioridad que se ejecutan con frecuencia y tienen requisitos en tiempo real. Estos subprocesos interactúan directamente con XAudio2 cada 20 a 40 milisegundos. |
| networking | Representa los subprocesos de red internos de Game Chat 2.<br /><br /> Los subprocesos de red internos de Game Chat 2 se controlan mediante mecanismos de sondeo. Estos se reactivan cada 50 a 100 milisegundos.                                                                                               |

<a id="remarksSection" />

## Comentarios

[chat\_manager::get\_thread\_processor](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_processor) y [chat\_manager::set\_thread\_processor](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_processor) usan esta enumeración para identificar el tipo de subproceso interno de Game Chat 2 para el que se configura la afinidad de procesador.

Al llamar a `chat_manager::set_thread_processor` para configurar la afinidad de procesador para los subprocesos de audio internos de Game Chat 2, las instancias de XAudio2 para Game Chat 2 se inicializan con una afinidad de procesador que corresponde al número de procesador configurado. Si no se especifica ningún número de procesador para este tipo de subproceso, las instancias de XAudio2 para Game Chat 2 se inicializan con la afinidad de procesador establecida en `XAUDIO2_DEFAULT_PROCESSOR`.

<a id="requirementsSection" />

## Requisitos

**Encabezado:** GameChat2.h

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

<a id="seealsoSection" />

## Consulte también

[Introducción a Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[Miembros de GameChat2](/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [chat_manager::set_thread_processor](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_processor.md)
- [chat_manager::get_thread_processor](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_processor.md)
- [chat_manager::set_thread_affinity_mask](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_thread_affinity_mask.md)
- [chat_manager::get_thread_affinity_mask](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_thread_affinity_mask.md)
- [GameChat2 members](/es/reference/chat/gamechat2/gamechat2_members.md)
