aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index dfd6b4b9..5ff7a91c 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1172,9 +1172,9 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName)
device->FrameSize = aluBytesFromFormat(device->Format) *
device->Channels;
- device->UpdateFreq = GetConfigValueInt(NULL, "refresh", 0);
+ device->UpdateFreq = GetConfigValueInt(NULL, "refresh", 8192);
if((ALint)device->UpdateFreq <= 0)
- device->UpdateFreq = 8192 * device->Frequency / 22050;
+ device->UpdateFreq = 8192;
// Find a playback device to open
for(i = 0;BackendList[i].Init;i++)