aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 06372231..e8acd424 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2006,6 +2006,10 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->Hrtf_Mode = DisabledHrtf;
if(device->FmtChans != DevFmtStereo)
{
+ if((device->Flags&DEVICE_HRTF_REQUEST_MASK) == Hrtf_Enable)
+ device->Hrtf_Status = ALC_HRTF_UNSUPPORTED_FORMAT_SOFT;
+ device->Flags &= ~DEVICE_HRTF_REQUEST_MASK;
+
free(device->Bs2b);
device->Bs2b = NULL;
}