diff options
author | Chris Robinson <[email protected]> | 2008-07-26 21:07:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-07-26 21:07:08 -0700 |
commit | 869b041f2f8364c7dcceb20393b47d101806a131 (patch) | |
tree | 0ad0fda007257b3fe8f2345cdbc4a00d8ba339e0 /Alc | |
parent | 8621fbb01514a32bcfd6c4292f424829553f08dd (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |