aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 4d833d1d..4e03e198 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -154,6 +154,9 @@ ALCboolean IsHrtfCompatible(ALCdevice *device)
{
if(device->FmtChans == DevFmtStereo && device->Frequency == Hrtf.sampleRate)
return ALC_TRUE;
+ ERR("Incompatible HRTF format: %s %uhz (%s %uhz needed)\n",
+ DevFmtChannelsString(device->FmtChans), device->Frequency,
+ DevFmtChannelsString(DevFmtStereo), Hrtf.sampleRate);
return ALC_FALSE;
}