PartyLocalChatControl::SetAudioRenderVolume
Configures the volume setting for audio received from a target chat control that will be used for the local chat control.
Syntax
PartyError SetAudioRenderVolume(
const PartyChatControl* targetChatControl,
float volume
)
Parameters
targetChatControl
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().
Remarks
The volume is a fractional percentage between 0.0 (quietest possible) and 1.0 (the standard chat volume).
This is a local setting that takes effect immediately.
Requirements
Header: Party.h
See also
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de