From 24db8a3f4bdbd787c23ac6e2ec78c2bafed81f1f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 22 Sep 2019 21:19:19 -0700 Subject: Make the resampler type an enum class --- alc/alu.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'alc/alu.h') diff --git a/alc/alu.h b/alc/alu.h index 33c67630..aa698f7d 100644 --- a/alc/alu.h +++ b/alc/alu.h @@ -42,14 +42,14 @@ enum SpatializeMode { SpatializeAuto = AL_AUTO_SOFT }; -enum Resampler { - PointResampler, - LinearResampler, - FIR4Resampler, - BSinc12Resampler, - BSinc24Resampler, - - ResamplerMax = BSinc24Resampler +enum class Resampler { + Point, + Linear, + Cubic, + BSinc12, + BSinc24, + + Max = BSinc24 }; extern Resampler ResamplerDefault; -- cgit v1.2.3