aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-07-26 21:07:08 -0700
committerChris Robinson <[email protected]>2008-07-26 21:07:08 -0700
commit869b041f2f8364c7dcceb20393b47d101806a131 (patch)
tree0ad0fda007257b3fe8f2345cdbc4a00d8ba339e0 /Alc
parent8621fbb01514a32bcfd6c4292f424829553f08dd (diff)
Reduce the default buffer size to 4096
Should help with latency issues some people have and not put too much extra burden on the mixer, hopefully
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index ed9c4167..971eb827 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1218,9 +1218,9 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName)
if(!aluChannelsFromFormat(device->Format))
device->Format = AL_FORMAT_STEREO16;
- device->UpdateSize = GetConfigValueInt(NULL, "refresh", 8192);
+ device->UpdateSize = GetConfigValueInt(NULL, "refresh", 4096);
if((ALint)device->UpdateSize <= 0)
- device->UpdateSize = 8192;
+ device->UpdateSize = 4096;
device->MaxNoOfSources = GetConfigValueInt(NULL, "sources", 256);
if((ALint)device->MaxNoOfSources <= 0)