diff options
author | Chris Robinson <[email protected]> | 2019-09-22 21:19:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-22 21:19:19 -0700 |
commit | 24db8a3f4bdbd787c23ac6e2ec78c2bafed81f1f (patch) | |
tree | bd55bdfda7874eb56eb444fb888e896895057d63 /alc/alu.h | |
parent | 95996effaf04c87b7091c904e6545bc1e5e25aee (diff) |
Make the resampler type an enum class
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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; |