From ce0727097391ea32eefe5cac592b1ca8a2a2c397 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 6 Jun 2010 00:53:29 -0700 Subject: Remove support for the old 'refresh' config option --- Alc/ALc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Alc') diff --git a/Alc/ALc.c b/Alc/ALc.c index d4c1ad9f..a1aca654 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1997,12 +1997,9 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName) if(device->NumUpdates < 2) device->NumUpdates = 4; - i = GetConfigValueInt(NULL, "refresh", 4096); - if(i <= 0) i = 4096; - - device->UpdateSize = GetConfigValueInt(NULL, "period_size", i/device->NumUpdates); + device->UpdateSize = GetConfigValueInt(NULL, "period_size", 1024); if(device->UpdateSize <= 0) - device->UpdateSize = i/device->NumUpdates; + device->UpdateSize = 1024; device->MaxNoOfSources = GetConfigValueInt(NULL, "sources", 256); if((ALint)device->MaxNoOfSources <= 0) -- cgit v1.2.3