> ## 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_audio_encoding_bitrate

> game_chat_audio_encoding_bitrate

# game\_chat\_audio\_encoding\_bitrate

Defines the audio encoding bit rate that Game Chat 2 uses for generating outgoing audio packets.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum class game_chat_audio_encoding_bitrate  
{  
    kilobits_per_second_12,  
    kilobits_per_second_16,  
    kilobits_per_second_24,  
}  
```

<a id="constantsSection" />

## Constants

| Constant                  | Description                                                    |
| ------------------------- | -------------------------------------------------------------- |
| kilobits\_per\_second\_12 | Represents encoding with a bit rate of 12 kilobits per second. |
| kilobits\_per\_second\_16 | Represents encoding with a bit rate of 16 kilobits per second. |
| kilobits\_per\_second\_24 | Represents encoding with a bit rate of 24 kilobits per second. |

<a id="remarksSection" />

## Remarks

This enumeration describes the audio encoding bit rate used by Game Chat 2 to encode audio packets for transmission to remote endpoints. You can retrieve the current audio encoding bit rate for the chat instance by calling the [chat\_manager::audio\_encoding\_bitrate](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_encoding_bitrate) method. You can change the audio encoding bit rate by calling the [chat\_manager::set\_audio\_encoding\_bitrate](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_audio_encoding_bitrate) method.

You can change the audio encoding bit rate as needed to respond to network usage. Lower bit rates result in less data transmission but lower audio quality. Higher bit rates result in better audio quality but more data transmission. For more information about audio encoding, see [Using the Game Chat 2 C++ API](/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2).

<a id="requirementsSection" />

## Requirements

**Header:** GameChat2.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[Intro to Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[GameChat2 members](/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [chat_manager::audio_encoding_bitrate](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_encoding_bitrate.md)
- [chat_manager::set_audio_encoding_bitrate](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_audio_encoding_bitrate.md)
- [GameChat2 members](/reference/chat/gamechat2/gamechat2_members.md)
- [game_chat_audio_format](/reference/chat/gamechat2/structs/game_chat_audio_format.md)
- [game_chat_audio_manipulation_mode_flags](/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)
