From 561e95528f55be2837541239236281c4cd63d728 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 25 Aug 2017 05:52:19 -0700 Subject: Rename the bsinc resampler to bsinc12 --- OpenAL32/Include/alu.h | 4 ++-- OpenAL32/alState.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index d902a8c4..e5fd8b09 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -53,9 +53,9 @@ enum Resampler { PointResampler, LinearResampler, FIR4Resampler, - BSincResampler, + BSinc12Resampler, - ResamplerMax = BSincResampler + ResamplerMax = BSinc12Resampler }; extern enum Resampler ResamplerDefault; diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index a7dc1006..19b0996c 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -51,7 +51,7 @@ static const ALchar alErrOutOfMemory[] = "Out of Memory"; static const ALchar alPointResampler[] = "Nearest"; static const ALchar alLinearResampler[] = "Linear"; static const ALchar alSinc4Resampler[] = "4-Point Sinc"; -static const ALchar alBSincResampler[] = "Band-limited Sinc (12/24)"; +static const ALchar alBSinc12Resampler[] = "Band-limited Sinc (12/24)"; AL_API ALvoid AL_APIENTRY alEnable(ALenum capability) { @@ -750,7 +750,7 @@ AL_API const ALchar* AL_APIENTRY alGetStringiSOFT(ALenum pname, ALsizei index) { const char *ResamplerNames[] = { alPointResampler, alLinearResampler, - alSinc4Resampler, alBSincResampler, + alSinc4Resampler, alBSinc12Resampler, }; const ALchar *value = NULL; ALCcontext *context; -- cgit v1.2.3