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

TSlidingBuffer 更多...

#include <SlidingWindow.h>

Public 成员函数

int32 GetNumHopSamples () const
 Returns the number of samples between windows.
 
int32 GetNumWindowSamples () const
 Returns the number of samples in a window.
 
void Reset ()
 Resets the internal storage.
 
void StoreForFutureWindows (TArrayView< const InSampleType > InBuffer)
 StoreForFutureWindows stores the necessary samples from InBuffer which will be needed for future windows. 更多...
 
 TSlidingBuffer (const int32 InNumWindowSamples, const int32 InNumHopSamples)
 Constructs a TSlidingBuffer with a constant window and hop size
 

详细描述

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

TSlidingBuffer

TSlidingBuffer defines the window size and hop size of the sliding window, and it stores any samples needed to produce additional windows.

TSlidingBuffer should be used in conjunction with the TSlidingWindow, TScopedSlidingWindow or TAutoSlidingWindow classes.

成员函数说明

◆ StoreForFutureWindows()

template<typename InSampleType >
void Audio::TSlidingBuffer< InSampleType >::StoreForFutureWindows ( TArrayView< const InSampleType >  InBuffer)
inline

StoreForFutureWindows stores the necessary samples from InBuffer which will be needed for future windows.

It ignores all values in InBuffer which can already be composed as a complete window.


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