다음을 통해 공유


PartyLocalChatControl::GetTextToSpeechProfile

지정된 유형의 텍스트 음성 변환 작업에 대해 완료된 SetTextToSpeechProfile() 작업에서 마지막으로 구성된 프로필을 가져옵니다.

구문

PartyError GetTextToSpeechProfile(  
    PartySynthesizeTextToSpeechType type,  
    PartyTextToSpeechProfile** profile  
)  

매개 변수

typePartySynthesizeTextToSpeechType

프로필을 검색할 텍스트 음성 변환 작업의 유형입니다.

profilePartyTextToSpeechProfile**
라이브러리에서 할당한 출력, nullptr을 반환할 수 있음

출력 프로필입니다. 지정된 유형에 설정된 프로필이 없으면 프로필이 nullptr일 수 있습니다. 포인터는 PartyManager::StartProcessingStateChanges()를 다음에 호출할 때까지만 유효합니다.

반환 값

PartyError

호출이 성공한 경우 c_partyErrorSuccess이고 그렇지 않은 경우 오류 코드입니다. 사용자가 읽을 수 있는 형식의 오류 코드는 PartyManager::GetErrorMessage()를 통해 검색할 수 있습니다.

비고

지정된 유형의 텍스트 음성 변환 작업에 대해 프로필이 구성되지 않은 경우 검색되는 프로필은 null입니다.

type에 같은 값을 지정한 SetTextToSpeechProfile()과 연결된 PartySetTextToSpeechProfileCompletedStateChangePartyManager::StartProcessingStateChanges()를 통해 제공될 때 검색된 프로필이 업데이트됩니다.

요구 사항

헤더: Party.h

참고 항목

PartyLocalChatControl
PartyLocalChatControl::SetTextToSpeechProfile