1 #ifndef CORE_BSINC_DEFS_H
2 #define CORE_BSINC_DEFS_H
4 /* The number of distinct scale and phase intervals within the filter table. */
5 constexpr unsigned int BSincScaleBits
{4};
6 constexpr unsigned int BSincScaleCount
{1 << BSincScaleBits
};
7 constexpr unsigned int BSincPhaseBits
{5};
8 constexpr unsigned int BSincPhaseCount
{1 << BSincPhaseBits
};
10 /* The maximum number of sample points for the bsinc filters. The max points
11 * includes the doubling for downsampling, so the maximum number of base sample
12 * points is 24, which is 23rd order.
14 constexpr unsigned int BSincPointsMax
{48};
16 #endif /* CORE_BSINC_DEFS_H */