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

# PartyLocalChatControl::GetAvailableTextToSpeechProfiles

> Obtient les profils de synthèse vocale de ce contrôle de chat.

Obtient les profils de synthèse vocale de ce contrôle de chat.

## Syntaxe

```cpp theme={null}
PartyError GetAvailableTextToSpeechProfiles(  
    uint32_t* profileCount,  
    PartyTextToSpeechProfileArray* profiles  
)  
```

### Paramètres

**`profileCount`**   uint32\_t\*\
*output*

Le nombre de sortie de profils disponibles.

**`profiles`**   [PartyTextToSpeechProfileArray\*](/fr/services/playfab/multiplayer/networking/reference/typedefs)\
*library-allocated output array of size `*profileCount`*

Un tableau de sortie alloué par la bibliothèque contenant les profils disponibles.

### Valeur renvoyée

PartyError

`c_partyErrorSuccess` si l'appel a réussi ; sinon, un code d'erreur. La forme lisible du code d'erreur peut être obtenue via [PartyManager::GetErrorMessage()](/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarques

Cette méthode renvoie de manière synchrone le résultat mis en cache par la dernière opération [PopulateAvailableTextToSpeechProfiles()](/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles) réussie. <br /><br /> Le tableau renvoyé n'est valide que jusqu'au prochain appel à [PartyManager::StartProcessingStateChanges()](/fr/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges).

## Configuration requise

**En-tête :** Party.h

## Voir aussi

[PartyLocalChatControl](/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)\
[PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles)


## Related topics

- [PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles.md)
- [PartyTextToSpeechProfile](/fr/services/playfab/multiplayer/networking/reference/classes/PartyTextToSpeechProfile/partytexttospeechprofile.md)
- [PartyPopulateAvailableTextToSpeechProfilesCompletedStateChange](/fr/services/playfab/multiplayer/networking/reference/structs/partypopulateavailabletexttospeechprofilescompletedstatechange.md)
- [Recommandations UX pour la synthèse vocale et la saisie de texte dans PlayFab Party](/fr/services/playfab/community/voice-communications/party-text-to-speech-ux-guidelines.md)
- [PartyLocalChatControl::GetTextToSpeechProfile](/fr/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettexttospeechprofile.md)
