Commit 60409562 authored by David Reid's avatar David Reid

Fix an error where ma_log_level_to_string() is sometimes not compiled.

This was happening because ma_log_level_to_string() was only being
included when MA_DEBUG_OUTPUT is enabled.
parent 3a5bfa9f
......@@ -8477,8 +8477,6 @@ static ma_result ma_allocation_callbacks_init_copy(ma_allocation_callbacks* pDst
Logging
**************************************************************************************************************************************************************/
#if defined(MA_DEBUG_OUTPUT)
MA_API const char* ma_log_level_to_string(ma_uint32 logLevel)
{
switch (logLevel)
......@@ -8491,6 +8489,8 @@ MA_API const char* ma_log_level_to_string(ma_uint32 logLevel)
}
}
#if defined(MA_DEBUG_OUTPUT)
/* Customize this to use a specific tag in __android_log_print() for debug output messages. */
#ifndef MA_ANDROID_LOG_TAG
#define MA_ANDROID_LOG_TAG "miniaudio"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment