summaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-02-12 19:38:27 -0800
committerChris Robinson <[email protected]>2008-02-12 19:38:27 -0800
commitc3446a10fafcfb8f49f20dcee1561e8fa750dd00 (patch)
tree5078072066929c0e9772ef1b1f15ef8921febc40 /Alc/alsa.c
parentfbc869eed7cee13c12c1bfef47749b9f60e492d4 (diff)
Rename UpdateFreq device field to UpdateSize
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index aa0b56bc..67945ae8 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -357,7 +357,7 @@ open_alsa:
}
periods = GetConfigValueInt("alsa", "periods", 0);
- bufferSizeInFrames = device->UpdateFreq;
+ bufferSizeInFrames = device->UpdateSize;
str = GetConfigValue("alsa", "mmap", "true");
allowmmap = (strcasecmp(str, "true") == 0 ||
@@ -413,9 +413,9 @@ open_alsa:
psnd_pcm_hw_params_free(p);
- device->UpdateFreq = bufferSizeInFrames;
+ device->UpdateSize = bufferSizeInFrames;
- data->size = psnd_pcm_frames_to_bytes(data->pcmHandle, device->UpdateFreq);
+ data->size = psnd_pcm_frames_to_bytes(data->pcmHandle, device->UpdateSize);
if(access == SND_PCM_ACCESS_RW_INTERLEAVED)
{
data->buffer = malloc(data->size);