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

> Provides the voice audio options associated with this chat control.

Provides the voice audio options associated with this chat control.

## Syntax

```cpp theme={null}
PartyError GetVoiceAudioOptions(  
    PartyVoiceAudioOptions* options  
)  
```

### Parameters

**`options`**   [PartyVoiceAudioOptions\*](/services/playfab/multiplayer/networking/reference/enums/partyvoiceaudiooptions)\
*output*

The voice audio options.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarks

This function is only supported on Android and iOS. Calls on other platforms will fail.

## Requirements

**Header:** Party.h

## See also

[PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol)


## Related topics

- [PartyVoiceAudioOptions](/services/playfab/multiplayer/networking/reference/enums/partyvoiceaudiooptions.md)
- [PartyLocalChatControl::SetVoiceAudioOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setvoiceaudiooptions.md)
- [PartyLocalChatControl::GetTranscriptionOptions](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_gettranscriptionoptions.md)
- [PartyLocalChatControl::GetAudioManipulationCaptureStream](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationcapturestream.md)
- [PartyChatControl::GetAudioManipulationVoiceStream](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getaudiomanipulationvoicestream.md)
