![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ISubmixBufferListener.h>
Inheritance diagram for ISubmixBufferListener:Friends | |
| template<typename ObjectType , ESPMode Mode> | |
| class | SharedPointerInternals::TIntrusiveReferenceController |
Additional Inherited Members | |
Protected Member Functions inherited from TSharedFromThis< ISubmixBufferListener, ESPMode::ThreadSafe > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Static Protected Member Functions inherited from TSharedFromThis< ISubmixBufferListener, ESPMode::ThreadSafe > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Abstract interface for receiving audio data from a given submix.
|
virtualdefault |
|
inlinevirtual |
Called if the submix is evaluating disabling itself for the next buffer of audio in FMixerSubmix::IsRenderingAudio() if this returns true, FMixerSubmix::IsRenderingAudio() will return true. Otherwise the submix will evaluate playing sounds, children submixes, etc to see if it should auto-disable
This is called every evaluation. ISubmixListeners that intermittently render audio should only return true when they have work to do.
|
pure virtual |
Called when a new buffer has been rendered for a given submix
| OwningSubmix | The submix object which has rendered a new buffer |
| AudioData | Ptr to the audio buffer |
| NumSamples | The number of audio samples in the audio buffer |
| NumChannels | The number of channels of audio in the buffer (e.g. 2 for stereo, 6 for 5.1, etc) |
| SampleRate | The sample rate of the audio buffer |
| AudioClock | Double audio clock value, from start of audio rendering. |