aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
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 /Alc/ALc.c
parent6b627caf521b48af6c65f4a9e94bd5008e464827 (diff)
Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFT
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 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: