]> git.tdb.fi Git - ext/openal.git/blob - core/cubic_tables.h
Import OpenAL Soft 1.23.1 sources
[ext/openal.git] / core / cubic_tables.h
1 #ifndef CORE_CUBIC_TABLES_H
2 #define CORE_CUBIC_TABLES_H
3
4 #include "alspan.h"
5 #include "cubic_defs.h"
6
7
8 struct CubicTable {
9     al::span<const CubicCoefficients,CubicPhaseCount> Tab;
10 };
11
12 /* A Catmull-Rom spline. The spline passes through the center two samples,
13  * ensuring no discontinuity while moving through a series of samples.
14  */
15 extern const CubicTable gCubicSpline;
16
17 #endif /* CORE_CUBIC_TABLES_H */