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

> Configures whether the user's audio input is in the mute state.

Configures whether the user's audio input is in the mute state.

## Syntax

```cpp theme={null}
PartyError SetAudioInputMuted(  
    PartyBool muted  
)  
```

### Parameters

**`muted`**   [PartyBool](/services/playfab/multiplayer/networking/reference/typedefs)

True to mute, false otherwise.

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

Muting determines whether audio data will be captured from the chat control's audio input and sent to the appropriate chat controls according to the configured relationships. When the audio input is muted, no audio data will be captured, regardless of the relationships that have been configured. Muting does not stop outgoing text messages or audio that has been generated by a call to [SynthesizeTextToSpeech()](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_synthesizetexttospeech).

## Requirements

**Header:** Party.h

## See also

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


## Related topics

- [PlayFab Party Chat Permissions and Muting](/services/playfab/community/voice-communications/concepts-chat-permissions-and-muting.md)
- [Troubleshooting Voice Chat](/services/playfab/community/voice-communications/concepts-audio-troubleshooting.md)
- [PartyLocalChatControl::GetAudioInputMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getaudioinputmuted.md)
- [PartyLocalChatControl::SetIncomingAudioMuted](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setincomingaudiomuted.md)
- [PartyLocalChatControl::SetAudioInput](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_setaudioinput.md)
