post_decode_audio_source_stream::get_pre_processed_format

Gets the audio format of the buffers that are returned by post_decode_audio_source_stream::get_next_buffer.

Syntax

game_chat_audio_format get_pre_processed_format(  
)  

Parameters

None.

Return value

Type: game_chat_audio_format

Returns the audio format of the buffers that are returned by post_decode_audio_source_stream::get_next_buffer.

Remarks

This method returns a game_chat_audio_format structure that represents the audio format of the buffers returned by calling the post_decode_audio_source_stream::get_next_buffer method for this stream.

Note

The pre-processed audio format returned by this method is always a single-channel (mono) format, with a sample rate of 24 kHz and a sample type represented by 16-bit integers.

For more information about manipulating post-decode chat audio data, see Real-time audio manipulation.

Requirements

Header: GameChat2.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Intro to Game Chat 2
post_decode_audio_source_stream