> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# game_chat_audio_manipulation_mode_flags

> game_chat_audio_manipulation_mode_flags

# game\_chat\_audio\_manipulation\_mode\_flags

表示所请求的音频处理功能状态。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
enum class game_chat_audio_manipulation_mode_flags  
{  
    none = 0x0,  
    pre_encode_stream_manipulation = 0x1,  
    post_decode_stream_manipulation = 0x2,  
}  
```

<a id="constantsSection" />

## 常量

| 常量                                 | 描述                                                                                                                                                                                                                                                                                                                                            |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| none                               | 禁用所有音频处理。                                                                                                                                                                                                                                                                                                                                     |
| pre\_encode\_stream\_manipulation  | 启用对本地生成音频的处理。<br /><br />指定此标志将授予发送方使用 [pre\_encode\_audio\_stream](/reference/chat/gamechat2/classes/pre_encode_audio_stream/pre_encode_audio_stream) 对象访问聊天用户音频数据以进行处理和操作的权限。                                                                                                                                                               |
| post\_decode\_stream\_manipulation | 启用对远程生成音频的处理。<br /><br />指定此标志将授予接收方使用 [post\_decode\_audio\_source\_stream](/reference/chat/gamechat2/classes/post_decode_audio_source_stream/post_decode_audio_source_stream) 和 [post\_decode\_audio\_sink\_stream](/reference/chat/gamechat2/classes/post_decode_audio_sink_stream/post_decode_audio_sink_stream) 对象访问聊天用户音频数据以进行处理和操作的权限。 |

<a id="remarksSection" />

## 备注

此枚举描述您的应用可从 Game Chat 2 为聊天实例请求的音频处理功能。您可以通过调用 [chat\_manager::audio\_manipulation\_mode](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode) 方法来检索该聊天实例的当前音频处理模式。可在初始化聊天实例时通过调用 [chat\_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) 方法来设置音频处理模式。

有关处理聊天音频数据的更多信息,请参阅 [实时音频处理](/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation)。

<a id="requirementsSection" />

## 需求

**头文件:** GameChat2.h

**支持的平台:** Windows、XBOX One 家族主机以及 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

[Game Chat 2 简介](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[GameChat2 members](/reference/chat/gamechat2/gamechat2_members)\
[chat\_manager](/reference/chat/gamechat2/classes/chat_manager/chat_manager)


## Related topics

- [chat_manager::audio_manipulation_mode](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode.md)
- [chat_user::chat_indicator](/zh-CN/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.md)
- [chat_manager::initialize](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [实时音频处理](/zh-CN/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation.md)
- [GameChat2 members](/zh-CN/reference/chat/gamechat2/gamechat2_members.md)
