Skip to main content

chat_manager::set_audio_encoding_bitrate

Sets the audio encoding bit rate for the chat instance.

Syntax

Parameters

audioEncodingBitrate   _In_
Type: game_chat_audio_encoding_bitrate
The audio encoding bit rate currently used by the chat instance.

Return value

Type: void

Remarks

This method specifies the current audio encoding bit rate used by the chat instance. If this method is not called, the audio encoding bit rate is set to game_chat_audio_encoding_bitrate::kilobits_per_second_24. 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.

Requirements

Header: GameChat2.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

Intro to Game Chat 2
chat_manager::audio_encoding_bitrate
chat_manager
Last modified on August 20, 2026