From ce0d8f84914fa4eceb74637601e52887019cb3f9 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 2 Jan 2022 13:12:07 +1000 Subject: [PATCH] Always post debug logs to log handlers. --- miniaudio.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index fbaf7505..4297de48 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -12877,15 +12877,6 @@ MA_API ma_result ma_log_post(ma_log* pLog, ma_uint32 level, const char* pMessage return MA_INVALID_ARGS; } - /* If it's a debug log, ignore it unless MA_DEBUG_OUTPUT is enabled. */ - #if !defined(MA_DEBUG_OUTPUT) - { - if (level == MA_LOG_LEVEL_DEBUG) { - return MA_INVALID_ARGS; /* Don't post debug messages if debug output is disabled. */ - } - } - #endif - ma_log_lock(pLog); { ma_uint32 iLog;