#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 更多... | |
TScopedSlidingWindow provides a sliding window iterator interface over arrays. When TScopedSlidingWindow is destructed, it calls StoreForFutureWindow(...) on the TSlidingBuffer passed into the constructor.
|
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.