> ## 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::GetAvailableTextToSpeechProfiles

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

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

## 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\*](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/typedefs.md)\
*library-allocated output array of size `*profileCount`*

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

### Valeur de retour

PartyError

`c_partyErrorSuccess` si l'appel a réussi; sinon, un code d'erreur. La forme lisible du code d'erreur peut être obtenue au moyen de [PartyManager::GetErrorMessage()](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

## Remarques

Cette méthode retourne de façon synchrone le résultat mis en cache par la dernière opération [PopulateAvailableTextToSpeechProfiles()](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles.md) réussie. \
\
&#x20;Le tableau retourné n'est valide que jusqu'au prochain appel à [PartyManager::StartProcessingStateChanges()](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_startprocessingstatechanges.md).

## Configuration requise

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

## Voir aussi

[PartyLocalChatControl](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)\
[PartyLocalChatControl::PopulateAvailableTextToSpeechProfiles](https://docs.xbox.com/fr-CA/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_populateavailabletexttospeechprofiles.md)


## Related topics

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