Commit b227b827 authored by David Reid's avatar David Reid

Fix a warning with the Android build.

parent de6d21b2
...@@ -1960,6 +1960,7 @@ static mal_result mal_post_error(mal_device* pDevice, const char* message, mal_r ...@@ -1960,6 +1960,7 @@ static mal_result mal_post_error(mal_device* pDevice, const char* message, mal_r
} }
#if !defined(MAL_ANDROID)
static void mal_get_default_channel_mapping(mal_backend backend, mal_uint32 channels, mal_channel channelMap[MAL_MAX_CHANNELS]) static void mal_get_default_channel_mapping(mal_backend backend, mal_uint32 channels, mal_channel channelMap[MAL_MAX_CHANNELS])
{ {
if (channels == 1) { // Mono if (channels == 1) { // Mono
...@@ -2027,6 +2028,7 @@ static void mal_get_default_channel_mapping(mal_backend backend, mal_uint32 chan ...@@ -2027,6 +2028,7 @@ static void mal_get_default_channel_mapping(mal_backend backend, mal_uint32 chan
} }
} }
} }
#endif
// The callback for reading from the client -> DSP -> device. // The callback for reading from the client -> DSP -> device.
......
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