Module |
|
Header |
/Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldEndpoint.h |
Include |
#include "ISoundfieldEndpoint.h" |
virtual void OnAudioCallback
(
TUniquePtr< ISoundfieldAudioPacket > && InPacket,
const ISoundfieldEndpointSettingsProxy * InSettings
)
For endpoints that override EndpointRequiresCallback to return true, this callback will be called every (GetDesiredNumFrames() / GetSampleRate()) seconds.
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. |