diff options
author | Chris Robinson <[email protected]> | 2011-09-15 02:05:48 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-15 02:05:48 -0700 |
commit | ae3ec4e7670baf79a7c6dcfe8b308405fc88be56 (patch) | |
tree | 30ea10ae74c3f199099ac547213e1b55c5fa493a /Alc | |
parent | fd22226242e20670096b8e45c9d24542670aa394 (diff) |
Trace compatible HRTF formats when loading instead of on error
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/hrtf.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); } |