UVoipListenerSynthComponent::SubmitPacket

Submit a packet to be enqueued for playback.

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 SubmitPacket
(
    void * InBuffer,
    int32 NumBytes,
    int64 InStartSample,
    EVoipStreamDataFormat DataFormat
)

Remarks

Submit a packet to be enqueued for playback. This should be called AFTER a the stream is opened with OpenPacketStream().

Parameters

Parameter

Description

InBuffer

pointer to a single channel buffer of audio samples.

NumBytes

the number of bytes referenced by InBuffer.

InStartSample

the Starting Sample associated with this packet.

DataFormat

the format of this sample (float, fixed16, etc.)

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