FVoicePacketBuffer::DropOldestAudio

When called, will seek forward in the buffer by the requested number of samples, skipping and removing the audio we seek past.

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

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

Include

#include "VoicePacketBuffer.h"

Source

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

Syntax

uint32 DropOldestAudio
(
    uint32 InNumSamples
)

Remarks

When called, will seek forward in the buffer by the requested number of samples, skipping and removing the audio we seek past. This will return the number of samples we were able to seek forward by.

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