Cubeb: Fix logging comparison, causing verbose spam

This commit is contained in:
Ty Lamontagne 2022-10-18 13:59:47 -04:00 committed by refractionpcsx2
parent 1d58f59190
commit 0df6fda9e8
1 changed files with 2 additions and 2 deletions

View File

@ -54,14 +54,14 @@ cubeb_async_log_reset_threads(void);
#define LOG_INTERNAL(level, fmt, ...) \
do { \
if (cubeb_log_get_level() <= level && cubeb_log_get_callback()) { \
if (cubeb_log_get_level() >= level && cubeb_log_get_callback()) { \
cubeb_log_internal(__FILENAME__, __LINE__, fmt, ##__VA_ARGS__); \
} \
} while (0)
#define ALOG_INTERNAL(level, fmt, ...) \
do { \
if (cubeb_log_get_level() <= level && cubeb_log_get_callback()) { \
if (cubeb_log_get_level() >= level && cubeb_log_get_callback()) { \
cubeb_async_log(fmt, ##__VA_ARGS__); \
} \
} while (0)