> ## 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.

# chat_manager::audio_manipulation_mode

> chat_manager::audio_manipulation_mode

# chat\_manager::audio\_manipulation\_mode

指示为聊天实例启用的音频操作模式。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
game_chat_audio_manipulation_mode_flags audio_manipulation_mode(  
)  
```

<a id="parametersSection" />

### 参数

无。

<a id="retvalSection" />

### 返回值

类型：[game\_chat\_audio\_manipulation\_mode\_flags](/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags)

返回为此聊天实例启用的音频操作模式。

<a id="remarksSection" />

## 备注

此方法指示为此聊天实例启用的音频操作模式。在为此实例调用 [chat\_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) 方法时，必须指定适当的 [game\_chat\_audio\_manipulation\_mode\_flags](/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags) 常量以启用预编码或后解码音频操作；否则，在初始化聊天实例时，此值默认设置为 `game_chat_audio_manipulation_mode_flags::none`。有关详细信息，请参阅[实时音频操作](/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)\
[chat\_manager](/reference/chat/gamechat2/classes/chat_manager/chat_manager)


## Related topics

- [chat_manager::audio_encoding_bitrate](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_encoding_bitrate.md)
- [game_chat_audio_manipulation_mode_flags](/zh-CN/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)
- [chat_manager::set_legacy_era_uwp_compat_mode_enabled](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_legacy_era_uwp_compat_mode_enabled.md)
- [chat_manager::set_audio_encoding_bitrate](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_set_audio_encoding_bitrate.md)
- [chat_manager::get_pre_encode_audio_streams](/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_get_pre_encode_audio_streams.md)
