From c438509bb2f01b7d81937f6647e286e05e6ea254 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 7 Jul 2018 09:48:12 +1000 Subject: [PATCH] Set the default log level. --- mini_al.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mini_al.h b/mini_al.h index 1c075499..9264db80 100644 --- a/mini_al.h +++ b/mini_al.h @@ -474,6 +474,10 @@ typedef mal_uint16 wchar_t; #define MAL_LOG_LEVEL_WARNING 2 #define MAL_LOG_LEVEL_ERROR 1 +#ifndef MAL_LOG_LEVEL +#define MAL_LOG_LEVEL MAL_LOG_LEVEL_ERROR +#endif + // Thread priorties should be ordered such that the default priority of the worker thread is 0. typedef enum