> ## 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](/zh-TW/reference/chat/gamechat2/enums/game_chat_audio_manipulation_mode_flags)

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

<a id="remarksSection" />

## 備註

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


## Related topics

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