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

> Provides the volume setting for audio received from a target chat control that will be used for the local chat control.

Provides the volume setting for audio received from a target chat control that will be used for the local chat control.

## Syntax

```cpp theme={null}
PartyError GetAudioRenderVolume(  
    const PartyChatControl* targetChatControl,  
    float* volume  
)  
```

### Parameters

**`targetChatControl`**   [PartyChatControl\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol.md)

The target chat control.

**`volume`**   float\*\
*output*

The volume.

### 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()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

## Remarks

The volume is a fractional percentage between 0.0 (quietest possible) and 1.0 (the standard chat volume). \
\
&#x20;This is a local setting that takes effect immediately.

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PartyLocalChatControl::SetAudioRenderVolume](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudiorendervolume.md)
- [PartyLocalChatControl::GetAudioManipulationRenderStream](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationrenderstream.md)
- [PartyLocalChatControl::ConfigureAudioManipulationRenderStream](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationrenderstream.md)
- [PartyLocalChatControl::GetAudioInput](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudioinput.md)
- [PartyLocalChatControl::GetAudioOutput](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiooutput.md)
