aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-22 21:19:19 -0700
committerChris Robinson <[email protected]>2019-09-22 21:19:19 -0700
commit24db8a3f4bdbd787c23ac6e2ec78c2bafed81f1f (patch)
treebd55bdfda7874eb56eb444fb888e896895057d63 /alc/alu.h
parent95996effaf04c87b7091c904e6545bc1e5e25aee (diff)
Make the resampler type an enum class
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h16
1 files changed, 8 insertions, 8 deletions
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;