> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyLocalChatControl::GetTextToSpeechProfile

> 성공적으로 완료된 작업에서 마지막으로 구성된 프로필을 가져옵니다.

지정된 텍스트 음성 변환 작업 유형에 대해 성공적으로 완료된 [SetTextToSpeechProfile()](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md) 작업에서 마지막으로 구성된 프로필을 가져옵니다.

## Syntax

```cpp theme={null}
PartyError GetTextToSpeechProfile(  
    PartySynthesizeTextToSpeechType type,  
    PartyTextToSpeechProfile** profile  
)  
```

### Parameters

**`type`**   [PartySynthesizeTextToSpeechType](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/enums/partysynthesizetexttospeechtype.md)

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

**`profile`**   [PartyTextToSpeechProfile\*\*](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile.md)\
*라이브러리에서 할당된 출력, nullptr을 반환할 수 있음*

출력 프로필입니다. 지정된 유형에 대해 설정된 프로필이 없으면 nullptr일 수 있습니다. 포인터는 다음 [PartyManager::StartProcessingStateChanges()](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges.md) 호출 시까지만 유효합니다.

### Return value

PartyError

호출이 성공한 경우 `c_partyErrorSuccess`, 그렇지 않으면 오류 코드입니다. 오류 코드의 사람이 읽을 수 있는 형식은 [PartyManager::GetErrorMessage()](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md)를 통해 검색할 수 있습니다.

## Remarks

지정된 유형의 텍스트 음성 변환 작업에 대해 프로필이 성공적으로 구성되지 않은 경우, 검색된 프로필은 null이 됩니다. \
\
&#x20;검색된 프로필은 동일한 `type` 값을 지정한 SetTextToSpeechProfile() 호출과 연결된 [PartySetTextToSpeechProfileCompletedStateChange](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/structs/partysettexttospeechprofilecompletedstatechange.md)가 [PartyManager::StartProcessingStateChanges()](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges.md)를 통해 제공될 때 업데이트됩니다.

## Requirements

**Header:** Party.h

## See also

[PartyLocalChatControl](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)\
[PartyLocalChatControl::SetTextToSpeechProfile](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md)


## Related topics

- [PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles.md)
- [PartyTextToSpeechProfile](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile.md)
- [PartyLocalChatControl::SetTextToSpeechProfile](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_settexttospeechprofile.md)
- [PartySynthesizeTextToSpeechType](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/enums/partysynthesizetexttospeechtype.md)
- [PartySetTextToSpeechProfileCompletedStateChange](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/reference/structs/partysettexttospeechprofilecompletedstatechange.md)
