Files
megasource/libs/openal-soft/core/resampler_limits.h
T
2024-03-20 11:06:03 +08:00

13 lines
385 B
C++

#ifndef CORE_RESAMPLER_LIMITS_H
#define CORE_RESAMPLER_LIMITS_H
/* Maximum number of samples to pad on the ends of a buffer for resampling.
* Note that the padding is symmetric (half at the beginning and half at the
* end)!
*/
constexpr unsigned int MaxResamplerPadding{48};
constexpr unsigned int MaxResamplerEdge{MaxResamplerPadding >> 1};
#endif /* CORE_RESAMPLER_LIMITS_H */