aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b84aa6e0..f95a2ac7 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1335,8 +1335,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
if(!device->IsLoopbackDevice && GetConfigValueBool(NULL, "hrtf", AL_FALSE))
device->Flags |= DEVICE_USE_HRTF;
- if((device->FmtChans != DevFmtStereo || device->Frequency != 44100) &&
- (device->Flags&DEVICE_USE_HRTF))
+ if((device->Flags&DEVICE_USE_HRTF) && !IsHrtfCompatible(device))
{
AL_PRINT("HRTF disabled (format is %uhz %s)\n", device->Frequency, DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_USE_HRTF;