game_chat_sample_type

Describes the data type that represents a single Game Chat 2 audio sample.

Syntax

enum class game_chat_sample_type  
{  
    integer = 0,  
    ieee_float  
}  

Constants

Constant Description
integer Integer PCM format.
ieee_float IEEE floating-point PCM format.

Remarks

This enumeration is used by the game_chat_audio_format structure to indicate whether the audio data represented by the structure uses Pulse Code Modulation (PCM) data represented by either integers or floating-point numbers. The game_chat_audio_format structure identifies the audio format of the buffers the app retrieves from and submits to Game Chat 2 when real-time audio manipulation is enabled. For more information about audio formats, 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
GameChat2 members