Editar

Compartir a través de


PartyLocalChatControl::SetIncomingAudioMuted

Configures whether the incoming audio from the target chat control, in relation to the local chat control, is muted.

Syntax

PartyError SetIncomingAudioMuted(  
    const PartyChatControl* targetChatControl,  
    PartyBool muted  
)  

Parameters

targetChatControl   PartyChatControl*

The target chat control.

muted   PartyBool

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().

Remarks

Audio muting determines whether incoming voice audio from the target chat control will be rendered to the local chat control.

Requirements

Header: Party.h

See also

PartyLocalChatControl