aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-06 03:36:01 -0800
committerChris Robinson <[email protected]>2008-01-06 03:36:01 -0800
commit90d825e7f8f0c5bafcba07be4fc4493d973df0e4 (patch)
tree5332456bfe89b0b7f31bde7df59d17613d792fbb /Alc/ALc.c
parent1178e900eb8e1f1dfb4757df19b55234d7d9e29e (diff)
Fix lone ALC_REFRESH query case
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 ab05d7b3..1e4bca01 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -742,7 +742,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
else if(!size)
SetALCError(ALC_INVALID_VALUE);
else
- *data = device->UpdateFreq;
+ *data = device->Frequency / device->UpdateFreq;
break;
case ALC_SYNC: