aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-18 00:28:25 -0800
committerChris Robinson <[email protected]>2008-01-18 00:28:25 -0800
commit497ada9c77b5a8434a4fb09ab00251ee680b5340 (patch)
treed07bc3d09bce5f6bc438f24ae5457bd542de2571 /Alc/ALc.c
parent73e386dc6f3fd6fb5c801fe39a9cc3d1984c23d1 (diff)
Buffer size fixes. Partially reverts the ALSA buffer size "fix"
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++)