> ## 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-TW/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)

傳回此聊天執行個體已啟用的音訊操作模式。

## 備註

此方法會指出此聊天執行個體已啟用的音訊操作模式。您必須在為此執行個體叫用 [chat\_manager::initialize](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) 方法時指定適當的 [game\_chat\_audio\_manipulation\_mode\_flags](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md) 常數，以啟用編碼前或解碼後的音訊操作；否則，初始化聊天執行個體時，此值預設會設為 `game_chat_audio_manipulation_mode_flags::none`。如需詳細資訊，請參閱[即時音訊操作](https://docs.xbox.com/zh-TW/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-TW/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[chat\_manager](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/chat_manager.md)


## Related topics

- [game_chat_audio_manipulation_mode_flags](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags.md)
- [audio_encoding_bitrate](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_encoding_bitrate.md)
- [即時音訊操作](https://docs.xbox.com/zh-TW/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation.md)
- [initialize](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [chat_indicator](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.md)
