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/ALc.c | |
parent | fbc869eed7cee13c12c1bfef47749b9f60e492d4 (diff) |
Rename UpdateFreq device field to UpdateSize
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) |