]> git.tdb.fi Git - ext/openal.git/blob - core/cubic_defs.h
Import OpenAL Soft 1.23.1 sources
[ext/openal.git] / core / 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 */