> ## 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](/zh-TW/reference/chat/gamechat2/classes/pre_encode_audio_stream/pre_encode_audio_stream) 物件，存取聊天使用者音訊資料以進行處理和操作。 |
| post\_decode\_stream\_manipulation | 啟用遠端產生之音訊的操作。<br /><br />指定此旗標可讓接收者使用 [post\_decode\_audio\_source\_stream](/zh-TW/reference/chat/gamechat2/classes/post_decode_audio_source_stream/post_decode_audio_source_stream) 和 [post\_decode\_audio\_sink\_stream](/zh-TW/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](/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode) 方法來擷取聊天執行個體目前的音訊操作模式。您可以在初始化聊天執行個體時，透過呼叫 [chat\_manager::initialize](/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) 方法來設定音訊操作模式。

如需操作聊天音訊資料的詳細資訊，請參閱[即時音訊操作](/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)\
[GameChat2 成員](/zh-TW/reference/chat/gamechat2/gamechat2_members)\
[chat\_manager](/zh-TW/reference/chat/gamechat2/classes/chat_manager/chat_manager)


## Related topics

- [chat_manager::audio_manipulation_mode](/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode.md)
- [chat_user::chat_indicator](/zh-TW/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.md)
- [chat_manager::initialize](/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [即時音訊操作](/zh-TW/services/xbox-services/multiplayer/chat/game-chat2/real-time-audio-manipulation.md)
- [GameChat2 成員](/zh-TW/reference/chat/gamechat2/gamechat2_members.md)
