aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-05-06 00:38:10 -0700
committerChris Robinson <[email protected]>2011-05-06 00:38:10 -0700
commit1363e044acb52e9e51e2b3dcdc6dbad823ccb06c (patch)
tree07d01ec3fa48890b48cb0da4a47095084bd5c164 /Alc/ALc.c
parent9967d4eadded7cfc0c8424d6ffd756b85ba6f4ef (diff)
Remove the head_dampen option
Now that HRTF is properly supported, it's not needed
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 401441b6..84478ada 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1217,14 +1217,6 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->Bs2b = NULL;
}
- device->HeadDampen = 0.0f;
- if(!(device->Flags&DEVICE_USE_HRTF) && ChannelsFromDevFmt(device->FmtChans) <= 2)
- {
- device->HeadDampen = GetConfigValueFloat(NULL, "head_dampen", DEFAULT_HEAD_DAMPEN);
- device->HeadDampen = __min(device->HeadDampen, 1.0f);
- device->HeadDampen = __max(device->HeadDampen, 0.0f);
- }
-
return ALC_TRUE;
}
@@ -2354,8 +2346,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
if(GetConfigValueBool(NULL, "stereodup", AL_TRUE))
device->Flags |= DEVICE_DUPLICATE_STEREO;
- device->HeadDampen = 0.0f;
-
// Find a playback device to open
SuspendContext(NULL);
for(i = 0;BackendList[i].Init;i++)
@@ -2531,8 +2521,6 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void)
if(GetConfigValueBool(NULL, "stereodup", AL_TRUE))
device->Flags |= DEVICE_DUPLICATE_STEREO;
- device->HeadDampen = 0.0f;
-
// Open the "backend"
SuspendContext(NULL);
device->Funcs = &BackendLoopback.Funcs;