summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-06 01:14:09 -0800
committerChris Robinson <[email protected]>2008-01-06 01:14:09 -0800
commit8553fb9e30f79052e56986689256acd8f3517309 (patch)
tree4283662df21090aa254d946e742198d51f6cd76d /Alc/ALc.c
parentda3b27048886add6fb3101cf34f8b8ab165d51f7 (diff)
ALC_REFRESH is the number of updates per second
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 1a66dc2a..ab05d7b3 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -707,7 +707,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
data[i++] = device->Frequency;
data[i++] = ALC_REFRESH;
- data[i++] = device->UpdateFreq;
+ data[i++] = device->Frequency / device->UpdateFreq;
data[i++] = ALC_SYNC;
data[i++] = ALC_FALSE;