From 8553fb9e30f79052e56986689256acd8f3517309 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 6 Jan 2008 01:14:09 -0800 Subject: ALC_REFRESH is the number of updates per second --- Alc/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/alsa.c') 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) -- cgit v1.2.3