From 90d825e7f8f0c5bafcba07be4fc4493d973df0e4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 6 Jan 2008 03:36:01 -0800 Subject: Fix lone ALC_REFRESH query case --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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: -- cgit v1.2.3