Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/FRuntimeResampler
Description
Consumes audio in an interleaved channel format from the input buffer and produces audio in the output buffer. The desired number of frames to produce is determined by the output audio buffer size. For the desired number of samples to be produced, the input audio must have the minimum number of frames needed to produce the output frames (see `GetNumInputFramesNeededToProduceOutputFrames(...)_).
| Name | ProcessInterleaved |
| Type | function |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/RuntimeResampler.h |
| Include Path | #include "DSP/RuntimeResampler.h" |
| Source | /Engine/Source/Runtime/SignalProcessing/Private/RuntimeResampler.cpp |
void ProcessInterleaved
(
TArrayView< const float > Input,
TArrayView< float > Output,
int32 & OutNumInputFramesConsumed,
int32 & OutNumOutputFramesProduced
)
Parameters
| Name | Remarks |
|---|---|
| InAudio | Multichannel interleaved audio to use as input. |
| OutAudio | Buffer to receive multichannel interleaved output audio. |
| OutNumInputFramesConsumed | Receives the actual number of frames of input consumed. |
| OutNumOutputFramesProduced | Receives the actual number of frames of output produced. |