aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-26 22:34:02 -0700
committerChris Robinson <[email protected]>2015-10-26 22:34:02 -0700
commite472cfcc53c723d87087ddf44fc2a153a9a7a3a2 (patch)
tree40a46352a998d7c843b8c8d33f9843e5aa494b2b
parent6b627caf521b48af6c65f4a9e94bd5008e464827 (diff)
Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFT
-rw-r--r--Alc/ALc.c6
-rw-r--r--OpenAL32/Include/alMain.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2faa84d2..5f50fa06 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -354,7 +354,7 @@ static const ALCenums enumeration[] = {
DECL(ALC_HRTF_REQUIRED_SOFT),
DECL(ALC_HRTF_HEADPHONES_DETECTED_SOFT),
DECL(ALC_HRTF_UNSUPPORTED_FORMAT_SOFT),
- DECL(ALC_NUM_HRTF_SPECIFIER_SOFT),
+ DECL(ALC_NUM_HRTF_SPECIFIERS_SOFT),
DECL(ALC_HRTF_SPECIFIER_SOFT),
DECL(ALC_HRTF_ID_SOFT),
@@ -2894,10 +2894,10 @@ static ALCsizei GetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALC
values[0] = device->Hrtf_Status;
return 1;
- case ALC_NUM_HRTF_SPECIFIER_SOFT:
+ case ALC_NUM_HRTF_SPECIFIERS_SOFT:
FreeHrtfList(&device->Hrtf_List);
device->Hrtf_List = EnumerateHrtf(device->DeviceName);
- values[0] = VECTOR_SIZE(device->Hrtf_List);
+ values[0] = (ALCint)VECTOR_SIZE(device->Hrtf_List);
return 1;
default:
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index c7ac3396..140f661c 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -50,7 +50,7 @@
#define ALC_HRTF_REQUIRED_SOFT 0x0003
#define ALC_HRTF_HEADPHONES_DETECTED_SOFT 0x0004
#define ALC_HRTF_UNSUPPORTED_FORMAT_SOFT 0x0005
-#define ALC_NUM_HRTF_SPECIFIER_SOFT 0x1994
+#define ALC_NUM_HRTF_SPECIFIERS_SOFT 0x1994
#define ALC_HRTF_SPECIFIER_SOFT 0x1995
#define ALC_HRTF_ID_SOFT 0x1996
typedef const ALCchar* (ALC_APIENTRY*LPALCGETSTRINGISOFT)(ALCdevice *device, ALCenum paramName, ALCsizei index);