> ## 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::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\*](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)

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()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarks

The volume is a fractional percentage between 0.0 (quietest possible) and 1.0 (the standard chat volume). <br /><br /> This is a local setting that takes effect immediately.

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PlayFab Party Release Notes](/services/playfab/multiplayer/networking/release-notes.md)
- [PartyLocalChatControl::GetAudioRenderVolume](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiorendervolume.md)
- [chat_user_local::set_audio_render_volume](/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_audio_render_volume.md)
- [PartyLocalChatControl::ConfigureAudioManipulationRenderStream](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_configureaudiomanipulationrenderstream.md)
- [PartyLocalChatControl::GetAudioManipulationRenderStream](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudiomanipulationrenderstream.md)
