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

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

Configures 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 SetAudioRenderVolume(  
    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

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

- [PlayFab Party Release Notes](https://docs.xbox.com/services/playfab/multiplayer/networking/release-notes.md)
- [PartyLocalChatControl::GetAudioRenderVolume](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiorendervolume.md)
- [PartyLocalChatControl::ConfigureAudioManipulationRenderStream](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationrenderstream.md)
- [PartyLocalChatControl::GetAudioManipulationRenderStream](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationrenderstream.md)
- [PartyLocalChatControl::SetAudioInput](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudioinput.md)
