From bb7d1f1db82f52c902e938437073908c60eb6add Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 5 Oct 2018 18:46:47 +1000 Subject: [PATCH] Fix a bug where an incorrect value is returned from mal_device_stop(). --- mini_al.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mini_al.h b/mini_al.h index 1804f91e..45524911 100644 --- a/mini_al.h +++ b/mini_al.h @@ -1,5 +1,5 @@ // Audio playback and capture library. Public domain. See "unlicense" statement at the end of this file. -// mini_al - v0.8.9 - 2018-09-28 +// mini_al - v0.8.10-rc - 2018-xx-xx // // David Reid - davidreidsoftware@gmail.com @@ -20951,7 +20951,7 @@ mal_result mal_device_stop(mal_device* pDevice) // Asynchronous backends need to be handled differently. if (mal_context_is_backend_asynchronous(pDevice->pContext)) { - pDevice->pContext->onDeviceStop(pDevice); + result = pDevice->pContext->onDeviceStop(pDevice); } else { // Synchronous backends. @@ -28298,6 +28298,9 @@ mal_uint64 mal_sine_wave_read_ex(mal_sine_wave* pSineWave, mal_uint64 frameCount // REVISION HISTORY // ================ // +// v0.8.10-rc - 2018-xx-xx +// - Fix a bug where an incorrect value is returned from mal_device_stop(). +// // v0.8.9 - 2018-09-28 // - Fix a bug with the SDL backend where device initialization fails. //