Skip to main content

XSpeechSynthesizerVoiceGender

音声の性別を示します。

Syntax

Constants

Remarks

インストールされている音声合成エンジン (音声) の性別は、この列挙型の定数によって XSpeechSynthesizerVoiceInformation 構造体で示されます。現在のデバイスにインストールされている音声を列挙し、それらに関する情報を取得するには、XSpeechSynthesizerEnumerateInstalledVoices 関数を XSpeechSynthesizerInstalledVoicesCallback コールバック関数と共に呼び出します。後者はインストールされている音声の XSpeechSynthesizerVoiceInformation 構造体を受け取り、現在のデバイスにインストールされている音声ごとに 1 回呼び出されます。 XSpeechSynthesizerVoiceGender 列挙型の使用方法を示す例については、XSpeechSynthesizerEnumerateInstalledVoices を参照してください。

Requirements

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

See also

XAccessibility
XSpeechSynthesizerInstalledVoicesCallback
XSpeechSynthesizerVoiceInformation
XSpeechSynthesizer
最終更新日 2026年8月24日