diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alSource.h | 4 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index bed7cfec..be3210bd 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -17,8 +17,8 @@ extern "C" { extern enum Resampler DefaultResampler; -extern const ALsizei ResamplerPadding[RESAMPLER_MAX]; -extern const ALsizei ResamplerPrePadding[RESAMPLER_MAX]; +extern const ALsizei ResamplerPadding[ResamplerMax]; +extern const ALsizei ResamplerPrePadding[ResamplerMax]; typedef struct ALbufferlistitem diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 64e5f2e2..fa71480a 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -127,13 +127,11 @@ typedef ALvoid (*MixerFunc)(struct ALsource *self, ALCdevice *Device, ALuint BufferSize); enum Resampler { - POINT_RESAMPLER = 0, - LINEAR_RESAMPLER, - CUBIC_RESAMPLER, + PointResampler, + LinearResampler, + CubicResampler, - RESAMPLER_MAX, - RESAMPLER_MIN = -1, - RESAMPLER_DEFAULT = LINEAR_RESAMPLER + ResamplerMax, }; enum Channel { |