XSpeechSynthesizerVoiceInformation
음성(설치된 음성 합성 엔진)에 대한 정보를 제공합니다.
구문
typedef struct XSpeechSynthesizerVoiceInformation {
const char* Description;
const char* DisplayName;
XSpeechSynthesizerVoiceGender Gender;
const char* VoiceId;
const char* Language;
} XSpeechSynthesizerVoiceInformation
멤버
Description
형식: const char*
DisplayName 및 Language의 조합을 기반으로 하는 음성의 설명입니다.
DisplayName
형식: const char*
음성의 표시 이름입니다.
Gender
형식: XSpeechSynthesizerVoiceGender
음성의 성별입니다.
VoiceId
형식: const char*
음성의 고유 ID입니다.
Language
형식: const char*
정규화된 BCP-47 언어 태그로 표시되는 음성 언어입니다.
비고
XSpeechSynthesierVoiceInformation 구조체는 설치된 음성 합성 엔진 또는 음성에 대한 정보를 나타냅니다. 이 정보에는 음성의 성별 및 언어가 포함됩니다. XSpeechSynthesizerSetCustomVoice 함수를 호출할 때 설치된 음성을 식별하려면 VoiceId의 값을 사용합니다.
XSpeechSynthesizerVoiceInformation 구조체를 사용하는 방법을 보여주는 예제를 보려면 XSpeechSynthesizerEnumerateInstalledVoices를 참조하세요.
요구 사항
헤더: XSpeechSynthesizer.h
지원되는 플랫폼: Windows, Xbox One 패밀리 콘솔 및 Xbox Series 콘솔
참고 항목
XAccessibility
XSpeechSynthesizerCreateStreamFromText
XSpeechSynthesizer