blob: ad31508a3077c1652f99b6069506953ccdc7160d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef ALC_FRONT_STABLIZER_H
#define ALC_FRONT_STABLIZER_H
#include "alcmain.h"
#include "almalloc.h"
#include "devformat.h"
#include "filters/splitter.h"
struct FrontStablizer {
static constexpr size_t DelayLength{256u};
alignas(16) float DelayBuf[MAX_OUTPUT_CHANNELS][DelayLength];
BandSplitter LFilter, RFilter;
alignas(16) float LSplit[2][BUFFERSIZE];
alignas(16) float RSplit[2][BUFFERSIZE];
alignas(16) float TempBuf[BUFFERSIZE + DelayLength];
DEF_NEWDEL(FrontStablizer)
};
#endif /* ALC_FRONT_STABLIZER_H */
|