]> git.tdb.fi Git - ext/openal.git/blob - cubic_defs.h
33751c9743c6975fd9e31516fec47a6af6292ede
[ext/openal.git] / cubic_defs.h
1 #ifndef CORE_CUBIC_DEFS_H
2 #define CORE_CUBIC_DEFS_H
3
4 /* The number of distinct phase intervals within the cubic filter tables. */
5 constexpr unsigned int CubicPhaseBits{5};
6 constexpr unsigned int CubicPhaseCount{1 << CubicPhaseBits};
7
8 struct CubicCoefficients {
9     float mCoeffs[4];
10     float mDeltas[4];
11 };
12
13 #endif /* CORE_CUBIC_DEFS_H */