ISoundfieldEndpoint::OnAudioCallback

For endpoints that override EndpointRequiresCallback to return true, this callback will be called every (GetDesiredNumFrames() / GetSampleRate()) seconds.

Windows
MacOS
Linux

References

Module

AudioExtensions

Header

/Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldEndpoint.h

Include

#include "ISoundfieldEndpoint.h"

Syntax

virtual void OnAudioCallback
(
    TUniquePtr< ISoundfieldAudioPacket > && InPacket,
    const ISoundfieldEndpointSettingsProxy * InSettings
)

Remarks

For endpoints that override EndpointRequiresCallback to return true, this callback will be called every (GetDesiredNumFrames() / GetSampleRate()) seconds.

Parameters

Parameter

Description

InPacket

the next buffer of audio. Can be nullptr if PushAudio hasn't been called in a while and the buffer is starved.

InSettings

is the most recent soundfield settings for this endpoint. Can be null.

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