Fix compilation error on Android builds.

This commit is contained in:
David Reid
2018-07-06 18:41:20 +10:00
parent 77c7488119
commit 3cced15578
+5 -2
View File
@@ -1,5 +1,5 @@
// Audio playback and capture library. Public domain. See "unlicense" statement at the end of this file.
// mini_al - v0.8 - 2018-07-05
// mini_al - v0.x-dev - 2018-xx-xx
//
// David Reid - davidreidsoftware@gmail.com
@@ -15075,7 +15075,7 @@ mal_result mal_context_enumerate_devices__opensl(mal_context* pContext, mal_enum
goto return_default_device;
#endif
return_default_device:
return_default_device:;
mal_bool32 cbResult = MAL_TRUE;
// Playback.
@@ -25822,6 +25822,9 @@ mal_uint64 mal_sine_wave_read(mal_sine_wave* pSineWave, mal_uint64 count, float*
// REVISION HISTORY
// ================
//
// v0.x-dev - 2018-xx-xx
// - Fix a compilation error on the Android build.
//
// v0.8 - 2018-07-05
// - Changed MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION for consistency with other libraries. The old
// way is still supported for now, but you should update as it may be removed in the future.