Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/FMultichannelLinearResampler
Description
Sets the number of input frames to read per an output frame. 0.5 is half speed, 1.f is normal speed, 2.0 is double speed.
| Name | SetFrameRatio |
| Type | function |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/MultichannelLinearResampler.h |
| Include Path | #include "DSP/MultichannelLinearResampler.h" |
| Source | /Engine/Source/Runtime/SignalProcessing/Private/MultichannelLinearResampler.cpp |
void SetFrameRatio
(
float InRatio,
int32 InNumFramesToInterpolate
)
Parameters
| Name | Remarks |
|---|---|
| InRatio | Ratio of input frames consumed per an output frame produced. |
| InNumFramesToInterpolate | Number of output frames over which to interpolate the frame ratio. |