TAutoDeinterleaveView

[TAutoDeinterleaveView](API\Runtime\SignalProcessing\DSP\TAutoDeinterleaveView)

Windows
MacOS
Linux

Inheritance Hierarchy

TDeinterleaveView

TAutoDeinterleaveView

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/DeinterleaveView.h

Include

#include "DSP/DeinterleaveView.h"

Syntax

template<typename T, typename InAllocator>
class TAutoDeinterleaveView : public Audio::TDeinterleaveView< T >

Remarks

TAutoDeinterleaveView

TAutoDeinterlaveView provides a STL like iterators which exposes contiguous channel arrays from interleaved arrays. As opposed to TDeinterleaveView, this class can be used in range based for loops, but only one iterator is valid at a time since they all share the same InArrayToFill.

Example:

TArray<float> ArrayToFill; for (auto Channel : TAudoDeineterleaveView(InterleavedArray, ArrayToFill, 2)) { DoSomethingWithAudio(Channel.Values, Channel.ChannelIndex); }

Constructors

Name Description

Public function

TAutoDeinterleaveView

(
    TArrayView< const T > InInterleaved...,
    TArray< T, InAllocator >& InArrayT...,
    int32 InNumChannels
)

TAutoDeinterleaveView Constructor.

Functions

Name Description

Public function

TAutoChannel...

 

begin()

Return an STL iterator to the first channel.

Public function

TAutoChannel...

 

end()

Return an STL iterator to the end.

Typedefs

Name

Description

TAutoChannelIterator

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss