aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-15 02:05:48 -0700
committerChris Robinson <[email protected]>2011-09-15 02:05:48 -0700
commitae3ec4e7670baf79a7c6dcfe8b308405fc88be56 (patch)
tree30ea10ae74c3f199099ac547213e1b55c5fa493a
parentfd22226242e20670096b8e45c9d24542670aa394 (diff)
Trace compatible HRTF formats when loading instead of on error
-rw-r--r--Alc/hrtf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index de6d5953..cd8ec106 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -291,9 +291,8 @@ ALCboolean IsHrtfCompatible(ALCdevice *device)
{
if(device->FmtChans == DevFmtStereo && device->Frequency == Hrtf.sampleRate)
return ALC_TRUE;
- ERR("format: %s %uhz (needed: %s %uhz)\n",
- DevFmtChannelsString(device->FmtChans), device->Frequency,
- DevFmtChannelsString(DevFmtStereo), Hrtf.sampleRate);
+ ERR("Incompatible format: %s %uhz\n",
+ DevFmtChannelsString(device->FmtChans), device->Frequency);
return ALC_FALSE;
}
@@ -409,4 +408,6 @@ void InitHrtf(void)
else
ERR("Failed to load %s\n", fname);
}
+ TRACE("HRTF support for format: %s %uhz\n",
+ DevFmtChannelsString(DevFmtStereo), Hrtf.sampleRate);
}