openal-soft/alc/front_stablizer.h
2020-03-30 01:16:15 -07:00

25 lines
552 B
C

#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 */