summaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-06 01:14:09 -0800
committerChris Robinson <[email protected]>2008-01-06 01:14:09 -0800
commit8553fb9e30f79052e56986689256acd8f3517309 (patch)
tree4283662df21090aa254d946e742198d51f6cd76d /Alc/alsa.c
parentda3b27048886add6fb3101cf34f8b8ab165d51f7 (diff)
ALC_REFRESH is the number of updates per second
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 7b8d4dfa..ea6ab2ea 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -438,7 +438,7 @@ open_alsa:
psnd_pcm_hw_params_free(p);
device->MaxNoOfSources = 256;
- device->UpdateFreq = bufferSizeInFrames * periods;
+ device->UpdateFreq = bufferSizeInFrames;
data->size = psnd_pcm_frames_to_bytes(data->pcmHandle, device->UpdateFreq);
if(access == SND_PCM_ACCESS_RW_INTERLEAVED)