Navigation
API > API/Runtime > API/Runtime/AudioLinkEngine
| Name | FDownmixedBufferedSubmixListener |
| Type | class |
| Header File | /Engine/Source/Runtime/AudioLink/AudioLinkEngine/Public/DownmixedBufferedSubmixListener.h |
| Include Path | #include "DownmixedBufferedSubmixListener.h" |
Syntax
class FDownmixedBufferedSubmixListener : public FBufferedSubmixListener
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDownmixedBufferedSubmixListener
(
int32 InNumOutputChannels, |
Constructor Buffered Submix Listener with downmixing and a delegate callback | DownmixedBufferedSubmixListener.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDownmixedBufferedSubmixListener() |
DownmixedBufferedSubmixListener.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnSubmixBufferWritten | TBaseDelegate_ThreeParams< void, const float *, int32, int32 > | Delegate to signal to the consumer that data is ready. | DownmixedBufferedSubmixListener.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnSubmixBufferWritten | FOnSubmixBufferWritten | DownmixedBufferedSubmixListener.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSkipSilentBuffers | bool | DownmixedBufferedSubmixListener.h | ||
| ChannelGainMap | TArray< float > | DownmixedBufferedSubmixListener.h | ||
| DownMixBuffer | Audio::FAlignedFloatBuffer | DownmixedBufferedSubmixListener.h | ||
| InputSampleRate | int32 | DownmixedBufferedSubmixListener.h | ||
| NumInputChannels | int32 | DownmixedBufferedSubmixListener.h | ||
| NumOutputChannels | int32 | DownmixedBufferedSubmixListener.h | ||
| OutputSampleRate | int32 | DownmixedBufferedSubmixListener.h | ||
| PendingOutputChannels | std::atomic< int32 > | Pending output format change, set by SetOutputFormat(), consumed by OnNewSubmixBuffer() | DownmixedBufferedSubmixListener.h | |
| PendingOutputSampleRate | std::atomic< int32 > | DownmixedBufferedSubmixListener.h | ||
| RateConvertedBuffer | Audio::FAlignedFloatBuffer | DownmixedBufferedSubmixListener.h | ||
| Resampler | Audio::FRuntimeResampler | DownmixedBufferedSubmixListener.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnableSkipSilentBuffers
(
bool bInSkipSilentBuffers |
If set to true, only buffers that contain at least one non-silent sample will be written to the circular buffer. | DownmixedBufferedSubmixListener.h | |
void EnableZeroInputBuffer
(
bool bInZeroInputBuffer |
If set to true, AudioData input buffer will be zeroed out after data is queued. | DownmixedBufferedSubmixListener.h | |
bool GetBuffer
(
float* InBuffer, |
Retrieve samples from the queue | DownmixedBufferedSubmixListener.h | |
int32 GetNumAvailableSamples() |
Query the number of samples waiting in the queue | DownmixedBufferedSubmixListener.h | |
void SetOutputFormat
(
int32 InNumOutputChannels, |
Change the output format of the listener. | DownmixedBufferedSubmixListener.h |