aboutsummaryrefslogtreecommitdiffstats
path: root/core/resampler_limits.h
blob: 9d4cefdae251d90fdf5bcabe7cc7a11c16827d32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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 int MaxResamplerPadding{48};

constexpr int MaxResamplerEdge{MaxResamplerPadding >> 1};

#endif /* CORE_RESAMPLER_LIMITS_H */