diff options
author | Chris Robinson <[email protected]> | 2011-07-10 22:32:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-10 22:32:44 -0700 |
commit | 7bedd9ef7a62e705cee4995667ae7fcac54249b1 (patch) | |
tree | da021bee7fc243c8edf991626ada5e86c0ebb6d1 /Alc/hrtf.c | |
parent | 72cd6706368b1ec5ad6273e326d6abcecb3c55c0 (diff) |
Replace some AL_PRINT calls with proper logging
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -148,7 +148,7 @@ void InitHrtf(void) { f = fopen(str, "rb"); if(f == NULL) - AL_PRINT("Could not open %s\n", str); + ERROR("Could not open %s\n", str); } if(f != NULL) { @@ -174,13 +174,13 @@ void InitHrtf(void) newdata.delays[i] = val; if(val > maxDelay) { - AL_PRINT("Invalid delay at idx %zu: %u (max: %u), in %s\n", i, val, maxDelay, str); + ERROR("Invalid delay at idx %zu: %u (max: %u), in %s\n", i, val, maxDelay, str); failed = AL_TRUE; } } if(feof(f)) { - AL_PRINT("Premature end of data while reading %s\n", str); + ERROR("Premature end of data while reading %s\n", str); failed = AL_TRUE; } |