FVoicePacketBuffer::PopAudio

Pop RequestedSamples of float samples into DestBuffer.

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

int32 PopAudio
(
    float * DestBuffer,
    uint32 RequestedSamples
)

Remarks

Pop RequestedSamples of float samples into DestBuffer. Returns the number of "non-silent" samples copied into the buffer- the remainder of the buffer will be filled with silence. This should be called on the audio render thread.

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