diff options
author | Chris Robinson <[email protected]> | 2008-02-12 19:38:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-02-12 19:38:27 -0800 |
commit | c3446a10fafcfb8f49f20dcee1561e8fa750dd00 (patch) | |
tree | 5078072066929c0e9772ef1b1f15ef8921febc40 /Alc/alsa.c | |
parent | fbc869eed7cee13c12c1bfef47749b9f60e492d4 (diff) |
Rename UpdateFreq device field to UpdateSize
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |