Skip to main content

chat_manager::get_pre_encode_audio_streams

Gets the collection of pre-encode audio streams.

Syntax

Parameters

preEncodeAudioStreamCount   _Out_
Type: uint32_t*
preEncodeAudioStreams   _Outptr_result_buffer_(*preEncodeAudioStreamCount)
Type: pre_encode_audio_stream_array*

Return value

Type: void

Remarks

The streams returned by this method are not in any guaranteed order. The order of the streams is also not guaranteed to be consistent between calls to this method. The array returned is only valid until a game_chat_stream_state_change_type::pre_encode_audio_stream_destroyed stream state change is returned. Will only return streams if pre-encode audio stream processing has been enabled.

Requirements

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

See also

chat_manager
chat_manager::get_post_decode_audio_source_streams
chat_manager::get_post_decode_audio_sink_streams
Last modified on August 20, 2026