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

# audio_manipulation_mode

> chat_manager::audio_manipulation_mode

# chat\_manager::audio\_manipulation\_mode

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

## 语法

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

### 参数

无。

### 返回值

类型：[game\_chat\_audio\_manipulation\_mode\_flags](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)

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

## 备注

此方法指示为此聊天实例启用的音频操作模式。在为此实例调用 [chat\_manager::initialize](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) 方法时，必须指定适当的 [game\_chat\_audio\_manipulation\_mode\_flags](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md) 常量以启用预编码或后解码音频操作；否则，在初始化聊天实例时，此值默认设置为 `game_chat_audio_manipulation_mode_flags::none`。有关详细信息，请参阅[实时音频操作](https://docs.xbox.com/zh-CN/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation.md)。

## 要求

**头文件：** GameChat2.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[Game Chat 2 简介](https://docs.xbox.com/zh-CN/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[chat\_manager](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/classes/chat_manager/chat_manager.md)


## Related topics

- [game_chat_audio_manipulation_mode_flags](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)
- [audio_encoding_bitrate](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_encoding_bitrate.md)
- [实时音频处理](https://docs.xbox.com/zh-CN/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation.md)
- [initialize](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [chat_indicator](https://docs.xbox.com/zh-CN/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.md)
