Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
Inheritance Hierarchy
- IChannelFormatConverter
- FBaseChannelFormatConverter
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/AudioChannelFormatConverter.h |
| Include | #include "DSP/AudioChannelFormatConverter.h" |
Syntax
class FBaseChannelFormatConverter : public Audio::IChannelFormatConverter
Remarks
FBaseChannelFormatConverter implements channel conversion using a simple mixing matrix.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FBaseChannelFormatConverter
(
const FInputFormat& InInputFormat, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< FBaseChannelFormatConverter > | CreateBaseFormatConverter
(
const FInputFormat& InInputFormat, |
Create a FBaseChannelFormatConverter | |
| float | GetTargetMixGain
(
int32 InInputChannelIndex, |
Returns the scalar gain used to mix the input channel index into the output channel index. | |
| float | Returns the scalar gain applied to the output audio. | ||
| void | SetMixGain
(
const FChannelMixEntry& InEntry, |
Sets the gain scalar to apply to a specific input/output channel pair. | |
| void | SetMixGain
(
int32 InInputChannelIndex, |
Sets the gain scalar to apply to a specific input/output channel pair. | |
| void | SetOutputGain
(
float InOutputGain, |
Sets the output gain scalar to apply to all output audio. |
Overridden from IChannelFormatConverter
| Type | Name | Description | |
|---|---|---|---|
| const FInputFormat & | Return the input format handled by this converter. | ||
| const FOutputFormat & | Return the output format handled by this converter. | ||
| void | ProcessAudio
(
const TArray< FAlignedFloatBuffer >& InInputBuffers, |
Converter the audio format from the FInputFormat to the FOutputFormat. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FChannelMixEntry | FChannelMixEntry denotes how an input channel should be mixed into an output channel. |