post_decode_audio_source_stream

Represents the inbound-data side of the remote audio manipulation pipeline.

Syntax

class post_decode_audio_source_stream  

Methods

Method Description
custom_stream_context Retrieves the app's optional, private, custom pointer-sized context value previously associated with this stream object.
get_available_buffer_count method Gets the total number of buffers available to retrieve from this stream.
get_next_buffer method Gets the next buffer available in the stream.
get_pre_processed_format method Gets the audio format of the buffers that are returned by post_decode_audio_source_stream::get_next_buffer.
get_users Retrieves the users that generate the audio retrieved from this source.
is_open Indicates whether the stream is open.
return_buffer method Tells Game Chat it can reclaim memory associated with this buffer.
set_custom_stream_context Configures an optional, custom pointer-sized context value with this stream object.

Remarks

The post_decode_audio_source_stream class represents the stream from which audio generated by a set of users associated with a capture device can be retrieved, optionally manipulated by audio middleware, and then sent to a post_decode_audio_sink_stream object for remote audio manipulation.

Any audio delivered through this stream has already been preprocessed with Voice Activity Detection (VAD) and Automatic Gain Control (AGC). Only buffers with voice activity are available from this source.

For more information about manipulating audio, see Real-time audio manipulation.

### post_decode_audio_source_stream_array The `post_decode_audio_source_stream_array` type is a constant array of `post_decode_audio_source_stream` pointers. This type is provided for convenience, and is used with [chat_manager::get_post_decode_audio_source_streams](../chat_manager/methods/chat_manager_get_post_decode_audio_source_streams.md). ```cpp typedef class post_decode_audio_source_stream * const * post_decode_audio_source_stream_array; ``` ## Requirements **Header:** GameChat2.h **Supported platforms:** Windows, Xbox One family consoles and Xbox Series consoles ## See also [Intro to Game Chat 2](../../../../../chat/overviews/game-chat2/game-chat-2-intro.md) [pre_encode_audio_stream](../pre_encode_audio_stream/pre_encode_audio_stream.md) [GameChat2 members](../../gamechat2_members.md)