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

# game_chat_audio_manipulation_mode_flags

> game_chat_audio_manipulation_mode_flags

# game\_chat\_audio\_manipulation\_mode\_flags

代表所要求的音訊操作功能狀態。

## 語法

```cpp theme={null}
enum class game_chat_audio_manipulation_mode_flags  
{  
    none = 0x0,  
    pre_encode_stream_manipulation = 0x1,  
    post_decode_stream_manipulation = 0x2,  
}  
```

## 常數

| 常數 | 描述 |
| - | - |
| none | 停用所有音訊操作。 |
| pre\_encode\_stream\_manipulation | 啟用本機產生之音訊的操作。 指定此旗標可讓傳送者使用 [pre\_encode\_audio\_stream](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/pre_encode_audio_stream/pre_encode_audio_stream.md) 物件，存取聊天使用者音訊資料以進行處理和操作。 |
| post\_decode\_stream\_manipulation | 啟用遠端產生之音訊的操作。 指定此旗標可讓接收者使用 [post\_decode\_audio\_source\_stream](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/post_decode_audio_source_stream/post_decode_audio_source_stream.md) 和 [post\_decode\_audio\_sink\_stream](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/post_decode_audio_sink_stream/post_decode_audio_sink_stream.md) 物件，存取聊天使用者音訊資料以進行處理和操作。 |

## 備註

此列舉描述您的應用程式可以針對聊天執行個體向 Game Chat 2 要求的音訊操作功能。您可以呼叫 [chat\_manager::audio\_manipulation\_mode](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode.md) 方法來擷取聊天執行個體目前的音訊操作模式。您可以在初始化聊天執行個體時，透過呼叫 [chat\_manager::initialize](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) 方法來設定音訊操作模式。

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


## Related topics

- [audio_manipulation_mode](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_audio_manipulation_mode.md)
- [chat_indicator](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.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)
- [GameChat2 成員 (API 內容)](https://docs.xbox.com/zh-TW/reference/chat/gamechat2/gamechat2_members.md)
