UVoipListenerSynthComponent::ResetBuffer

Reset the packet stream buffer if it's already open. Using this call prevents memory churn.

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoipListenerSynthComponent.h

Include

#include "VoipListenerSynthComponent.h"

Source

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Private/VoipListenerSynthComponent.cpp

Syntax

void ResetBuffer
(
    int32 InStartSample,
    float JitterDelay
)

Remarks

Reset the packet stream buffer if it's already open. Using this call prevents memory churn.

Parameters

Parameter

Description

InStartSample

The expected sample count of the first packet buffered after this function is called.

JitterDelay

The amount of time we wait before we start playing audio from submitted packets.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss