aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/defs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
committerChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
commit8750810f5cfceeffd5acf2f21e779d470d0dc88b (patch)
tree447b24c8d1b3ab926f2aa2ae40617938df1e9bb1 /alc/mixer/defs.h
parenteb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff)
Change a couple macros into constexpr variables
Diffstat (limited to 'alc/mixer/defs.h')
-rw-r--r--alc/mixer/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/defs.h b/alc/mixer/defs.h
index e3de6444..f8bdf428 100644
--- a/alc/mixer/defs.h
+++ b/alc/mixer/defs.h
@@ -23,7 +23,7 @@ constexpr int MixerFracMask{MixerFracOne - 1};
* Note that the padding is symmetric (half at the beginning and half at the
* end)!
*/
-#define MAX_RESAMPLER_PADDING 48
+constexpr int MaxResamplerPadding{48};
template<typename TypeTag, typename InstTag>