aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.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/ALc.c
parentfbc869eed7cee13c12c1bfef47749b9f60e492d4 (diff)
Rename UpdateFreq device field to UpdateSize
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 3b1d35e1..7ce5c85b 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -753,7 +753,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
data[i++] = device->Frequency;
data[i++] = ALC_REFRESH;
- data[i++] = device->Frequency / device->UpdateFreq;
+ data[i++] = device->Frequency / device->UpdateSize;
data[i++] = ALC_SYNC;
data[i++] = ALC_FALSE;
@@ -791,7 +791,7 @@ ALCAPI ALCvoid ALCAPIENTRY alcGetIntegerv(ALCdevice *device,ALCenum param,ALsize
else if(!size)
SetALCError(ALC_INVALID_VALUE);
else
- *data = device->Frequency / device->UpdateFreq;
+ *data = device->Frequency / device->UpdateSize;
break;
case ALC_SYNC:
@@ -1177,9 +1177,9 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName)
device->FrameSize = aluBytesFromFormat(device->Format) *
aluChannelsFromFormat(device->Format);
- device->UpdateFreq = GetConfigValueInt(NULL, "refresh", 8192);
- if((ALint)device->UpdateFreq <= 0)
- device->UpdateFreq = 8192;
+ device->UpdateSize = GetConfigValueInt(NULL, "refresh", 8192);
+ if((ALint)device->UpdateSize <= 0)
+ device->UpdateSize = 8192;
device->MaxNoOfSources = GetConfigValueInt(NULL, "sources", 256);
if((ALint)device->MaxNoOfSources <= 0)