From e394d14cdab07cab5fce75a2e175a3439c8c8edd Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 12 Feb 2012 08:45:19 -0800 Subject: Use more proper enum names for the resampler --- OpenAL32/alSource.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index d62a5c76..d52c69da 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -33,13 +33,13 @@ #include "alAuxEffectSlot.h" -enum Resampler DefaultResampler = RESAMPLER_DEFAULT; -const ALsizei ResamplerPadding[RESAMPLER_MAX] = { +enum Resampler DefaultResampler = LinearResampler; +const ALsizei ResamplerPadding[ResamplerMax] = { 0, /* Point */ 1, /* Linear */ 2, /* Cubic */ }; -const ALsizei ResamplerPrePadding[RESAMPLER_MAX] = { +const ALsizei ResamplerPrePadding[ResamplerMax] = { 0, /* Point */ 0, /* Linear */ 1, /* Cubic */ -- cgit v1.2.3