From e5d18f2f273d999f3e973e4751925709cbe6eff6 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sun, 15 Sep 2024 16:55:37 +0200 Subject: Fix _saudio_backend_shutdown for _SAUDIO_APPLE The code path tries to return void. Does not compile for obvious reasons. --- sokol_audio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sokol_audio.h b/sokol_audio.h index aca49422..960c42da 100644 --- a/sokol_audio.h +++ b/sokol_audio.h @@ -2473,7 +2473,7 @@ void _saudio_backend_shutdown(void) { #elif defined(SAUDIO_ANDROID_SLES) _saudio_sles_backend_shutdown(); #elif defined(_SAUDIO_APPLE) - return _saudio_coreaudio_backend_shutdown(); + _saudio_coreaudio_backend_shutdown(); #else #error "unknown platform" #endif -- cgit v1.2.3