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

TScopedSlidingWindow 更多...

#include <SlidingWindow.h>

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

Public 成员函数

 TScopedSlidingWindow (TSlidingBuffer< InSampleType > &InSlidingBuffer, TArrayView< const InSampleType > InNewBuffer, bool bDoFlush=false)
 TScopedSlidingWindow constructor 更多...
 
virtual ~TScopedSlidingWindow ()
 Calls InSlidingBuffer.StoreForFutureWindows(InNewBuffer).
 
- Public 成员函数 继承自 Audio::TSlidingWindow< InSampleType >
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<class InSampleType>
class Audio::TScopedSlidingWindow< InSampleType >

TScopedSlidingWindow

TScopedSlidingWindow provides a sliding window iterator interface over arrays. When TScopedSlidingWindow is destructed, it calls StoreForFutureWindow(...) on the TSlidingBuffer passed into the constructor.

构造及析构函数说明

◆ TScopedSlidingWindow()

template<class InSampleType >
Audio::TScopedSlidingWindow< InSampleType >::TScopedSlidingWindow ( TSlidingBuffer< InSampleType > &  InSlidingBuffer,
TArrayView< const InSampleType >  InNewBuffer,
bool  bDoFlush = false 
)
inline

TScopedSlidingWindow 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.


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