diff options
author | Chris Robinson <[email protected]> | 2008-01-18 00:28:25 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-18 00:28:25 -0800 |
commit | 497ada9c77b5a8434a4fb09ab00251ee680b5340 (patch) | |
tree | d07bc3d09bce5f6bc438f24ae5457bd542de2571 /Alc/ALc.c | |
parent | 73e386dc6f3fd6fb5c801fe39a9cc3d1984c23d1 (diff) |
Buffer size fixes. Partially reverts the ALSA buffer size "fix"
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++) |