Sliding window for analysis. More...
#include <DFT.h>
Public Member Functions | |
| const T * | window () |
| Returns pointer to internal sample window. | |
| bool | operator() (T input) |
| Returns true when sample window is ready to be processed. | |
| bool | operator() (T *dst, T input) |
| Returns true when sample window is ready to be processed. | |
Sliding window for analysis.
| bool operator() | ( | T * | dst, |
| T | input | ||
| ) |
Returns true when sample window is ready to be processed.
Upon returning true, the sample buffer is copied into 'dst'. 'dst' must have a size of at least sizeWin().
| const T * window | ( | ) |
Returns pointer to internal sample window.
The samples returned cannot be modified directly since they point to an internal delay line.