Syntax
Parameters
type PartySynthesizeTextToSpeechType
프로필을 검색해야 할 텍스트-음성 변환 작업의 유형입니다.
profile PartyTextToSpeechProfile**라이브러리에서 할당된 출력, nullptr을 반환할 수 있음 출력 프로필입니다. 지정된 유형에 대해 설정된 프로필이 없으면 nullptr일 수 있습니다. 포인터는 다음 PartyManager::StartProcessingStateChanges() 호출 시까지만 유효합니다.
Return value
PartyError 호출이 성공한 경우c_partyErrorSuccess, 그렇지 않으면 오류 코드입니다. 오류 코드의 사람이 읽을 수 있는 형식은 PartyManager::GetErrorMessage()를 통해 검색할 수 있습니다.
Remarks
지정된 유형의 텍스트-음성 변환 작업에 대해 프로필이 성공적으로 구성되지 않은 경우, 검색된 프로필은 null이 됩니다.검색된 프로필은 동일한
type 값을 지정한 SetTextToSpeechProfile() 호출과 연결된 PartySetTextToSpeechProfileCompletedStateChange가 PartyManager::StartProcessingStateChanges()를 통해 제공될 때 업데이트됩니다.
Requirements
Header: Party.hSee also
PartyLocalChatControlPartyLocalChatControl::SetTextToSpeechProfile
