Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/MultichannelLinearResampler.h |
| Include | #include "DSP/MultichannelLinearResampler.h" |
Syntax
class FMultichannelLinearResampler
Remarks
Linear resampler working on multichannel buffers
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMultichannelLinearResampler
(
int32 InNumChannels |
Construct a linear resampler. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | GetNumInputFramesNeededToProduceOutputFrames
(
int32 InNumOutputFrames |
Returns the minimum number of input frames needed to produce the desired number of output frames given the current state of the resampler. | |
| float | MapInputFrameToOutputFrame
(
float InInputFrameIndex |
Translates an input frame index to an output frame index given the state of the resampler. | |
| float | MapOutputFrameToInputFrame
(
float InOutputFrameIndex |
Translates an output frame index to an input frame index given the state of the resampler. | |
| int32 | ProcessAndConsumeAudio
(
FMultichannelCircularBuffer& InAudio, |
Consumes audio from the input buffer and produces audio in the output buffer. | |
| int32 | ProcessAndConsumeAudio
(
FMultichannelCircularBuffer& InAudio, |
Consumes audio from the input buffer and produces audio in the output buffer. | |
| void | SetFrameRatio
(
float InRatio, |
Sets the number of input frames to read per an output frame. |
Constants
| Name | Description |
|---|---|
| MinFrameRatioFrameDelta |