]> git.tdb.fi Git - ext/openal.git/blob - core/resampler_limits.h
Import OpenAL Soft 1.23.1 sources
[ext/openal.git] / core / resampler_limits.h
1 #ifndef CORE_RESAMPLER_LIMITS_H
2 #define CORE_RESAMPLER_LIMITS_H
3
4 /* Maximum number of samples to pad on the ends of a buffer for resampling.
5  * Note that the padding is symmetric (half at the beginning and half at the
6  * end)!
7  */
8 constexpr int MaxResamplerPadding{48};
9
10 constexpr int MaxResamplerEdge{MaxResamplerPadding >> 1};
11
12 #endif /* CORE_RESAMPLER_LIMITS_H */