From ae3ec4e7670baf79a7c6dcfe8b308405fc88be56 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Sep 2011 02:05:48 -0700 Subject: Trace compatible HRTF formats when loading instead of on error --- Alc/hrtf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Alc') 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); } -- cgit v1.2.3