engine
 
载入中...
搜索中...
未找到
类 | Public 成员函数 | 所有成员列表
Audio::TSlidingWindow< InSampleType > 模板类 参考

TSlidingWindow 更多...

#include <SlidingWindow.h>

+ 类 Audio::TSlidingWindow< InSampleType > 继承关系图:

类

class  TSlidingWindowIterator
 TSlidingWindowIterator 更多...
 

Public 成员函数

template<typename InAllocator = FDefaultAllocator>
TSlidingWindowIterator< InAllocator > begin (TArray< InSampleType, InAllocator > &OutWindowBuffer) const
 Creates STL like iterator which slides over samples. 更多...
 
template<typename InAllocator = FDefaultAllocator>
TSlidingWindowIterator< InAllocator > end (TArray< InSampleType, InAllocator > &OutWindowBuffer) const
 Creates STL like iterator denotes the end of the sliding window. 更多...
 
 TSlidingWindow (const TSlidingBuffer< InSampleType > &InSlidingBuffer, TArrayView< const InSampleType > InNewBuffer, bool bDoFlush)
 TSlidingWindow constructor 更多...
 

详细描述

template<typename InSampleType>
class Audio::TSlidingWindow< InSampleType >

TSlidingWindow

TSlidingWindow allows windows of samples to be iterated over with STL like iterators.

构造及析构函数说明

◆ TSlidingWindow()

template<typename InSampleType >
Audio::TSlidingWindow< InSampleType >::TSlidingWindow ( const TSlidingBuffer< InSampleType > &  InSlidingBuffer,
TArrayView< const InSampleType >  InNewBuffer,
bool  bDoFlush 
)
inline

TSlidingWindow constructor

InSlidingBuffer Holds the previous samples which were not completely used in previous sliding windows. It also defines the window and hop size. InNewBuffer Holds new samples which have not yet been ingested by the InSlidingBuffer. bDoFlush Controls whether zeros to the final output windows until all possible windows with data from InNewBuffer have been covered.

成员函数说明

◆ begin()

template<typename InSampleType >
template<typename InAllocator = FDefaultAllocator>
TSlidingWindowIterator< InAllocator > Audio::TSlidingWindow< InSampleType >::begin ( TArray< InSampleType, InAllocator > &  OutWindowBuffer) const
inline

Creates STL like iterator which slides over samples.

OutWindowBuffer Used to construct the TSlidingWindowIterator. The iterator will populate the window with samples when the * operator is called.

◆ end()

template<typename InSampleType >
template<typename InAllocator = FDefaultAllocator>
TSlidingWindowIterator< InAllocator > Audio::TSlidingWindow< InSampleType >::end ( TArray< InSampleType, InAllocator > &  OutWindowBuffer) const
inline

Creates STL like iterator denotes the end of the sliding window.

OutWindowBuffer Used to construct the TSlidingWindowIterator. The iterator will populate the window with samples when the * operator is called.


该类的文档由以下文件生成: