Navigation
API > API/Runtime > API/Runtime/AudioExtensions > API/Runtime/AudioExtensions/ISoundfieldEndpoint
References
| Module | AudioExtensions |
| Header | /Engine/Source/Runtime/AudioExtensions/Public/ISoundfieldEndpoint.h |
| Include | #include "ISoundfieldEndpoint.h" |
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
| Name | 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. |