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

> game_chat_speech_to_text_conversion_mode

# game\_chat\_speech\_to\_text\_conversion\_mode

Game Chat 2 で利用可能な音声からテキストへの変換モードを定義します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
enum class game_chat_speech_to_text_conversion_mode  
{  
    automatic,  
    title_managed,  
}  
```

<a id="constantsSection" />

## 定数

| 定数             | 説明                                                                                                                                                                                                                                                                                                                                                                                                 |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| automatic      | 「自動」の音声からテキストへの変換モードを表します。<br /><br /> ローカル ユーザーが音声からテキストへの変換を要求した場合、Game Chat 2 は、ローカル ユーザーに関連付けられた送信オーディオ、およびローカル ユーザーへの発話が許可されているユーザーに関連付けられた受信オーディオを自動的に文字起こしします。各文字起こしは [game\_chat\_transcribed\_chat\_received\_state\_change](/reference/chat/gamechat2/structs/game_chat_transcribed_chat_received_state_change) 状態変更としてアプリに提供されます。アプリは、音声からテキストへの変換を要求したユーザーに対して、このメッセージを画面に表示する必要があります。 |
| title\_managed | 「タイトル管理」の音声からテキストへの変換モードを表します。<br /><br /> ユーザーが音声からテキストへの変換を要求しても、Game Chat 2 はオーディオを自動的に文字起こししません。[chat\_user\_local::speech\_to\_text\_conversion\_preference\_enabled](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_speech_to_text_conversion_preference_enabled) によって示されるとおり、ユーザーが音声からテキストへの変換設定を有効にしている場合、オーディオの文字起こしはタイトルが担当します。                     |

<a id="remarksSection" />

## 解説

既定では、Game Chat 2 は、音声からテキストへのアクセシビリティ シナリオをサポートするための作業の大部分を自動的に管理します。Game Chat 2 の初期化時に、[chat\_manager::initialize](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize) メソッドの `speechToTextConversion` パラメーターに `title_managed` を指定することで、ゲームがこの自動処理を無効化し、独立した音声からテキストへのソリューションを優先することを許可できます。Game Chat 2 の初期化の詳細については、「[Game Chat 2 C++ API の使用](/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2)」を参照してください。

<a id="requirementsSection" />

## 要件

**ヘッダー:** GameChat2.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体および XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[Game Chat 2 の概要](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[GameChat2 メンバー](/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [音声アクセシビリティのユーザー設定](/ja-jp/build/game-principles/accessibility/speech-accessibility.md)
- [chat_manager::initialize](/ja-jp/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md)
- [GameChat2 メンバー](/ja-jp/reference/chat/gamechat2/gamechat2_members.md)
- [chat_user_local::speech_to_text_conversion_preference_enabled](/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_speech_to_text_conversion_preference_enabled.md)
- [chat_user_local::text_to_speech_conversion_preference_enabled](/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_text_to_speech_conversion_preference_enabled.md)
