diff options
author | Chris Robinson <[email protected]> | 2008-02-14 22:05:56 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-02-14 22:05:56 -0800 |
commit | 8c3188bc7dc2f47a27398fc61ed2dacd36397190 (patch) | |
tree | 5c46bd2fb13355a1bdb6f6118b86bee9452f2859 /Alc/ALc.c | |
parent | 880196e5a811356c4a6b36798a81429b4a48eb40 (diff) |
Remove FrameSize struct member
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -451,8 +451,6 @@ ALCAPI ALCdevice* ALCAPIENTRY alcCaptureOpenDevice(const ALCchar *deviceName, AL pDevice->Frequency = frequency; pDevice->Format = format; - pDevice->FrameSize = aluBytesFromFormat(format) * - aluChannelsFromFormat(format); for(i = 0;BackendList[i].Init;i++) { @@ -1169,13 +1167,7 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName) device->Format = alGetEnumValue(fmt); if(!aluChannelsFromFormat(device->Format)) - { device->Format = AL_FORMAT_STEREO16; - device->FrameSize = 4; - } - else - device->FrameSize = aluBytesFromFormat(device->Format) * - aluChannelsFromFormat(device->Format); device->UpdateSize = GetConfigValueInt(NULL, "refresh", 8192); if((ALint)device->UpdateSize <= 0) |