aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-10 23:50:55 -0700
committerChris Robinson <[email protected]>2011-07-10 23:50:55 -0700
commit6038bbd6ec5841445784b74c33be245b628ce63b (patch)
tree26a26b51177a4f7fd2c69f7ab6d2152c17b8bd45 /Alc/ALc.c
parent84a67ef766531649470619ff8d96a2bb03c79240 (diff)
Avoid redundantly tracing HRTF status
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 81036210..ffcd78ac 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1365,7 +1365,8 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
ERROR("HRTF disabled (format is %uhz %s)\n", device->Frequency, DevFmtChannelsString(device->FmtChans));
device->Flags &= ~DEVICE_USE_HRTF;
}
- TRACE("HRTF %s\n", (device->Flags&DEVICE_USE_HRTF)?"enabled":"disabled");
+ else
+ TRACE("HRTF %s\n", (device->Flags&DEVICE_USE_HRTF)?"enabled":"disabled");
if(!(device->Flags&DEVICE_USE_HRTF) && device->Bs2bLevel > 0 && device->Bs2bLevel <= 6)
{