From a03ed3259d0e3a44a0573a5108f0be4dec55bc62 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 13 Nov 2016 14:48:35 +1000 Subject: [PATCH] Prep work for WASAPI. --- mini_al.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mini_al.h b/mini_al.h index e1164675..dc949053 100644 --- a/mini_al.h +++ b/mini_al.h @@ -165,6 +165,9 @@ extern "C" { #endif #endif +#if !defined(MAL_NO_WASAPI) && defined(MAL_WIN32) + #define MAL_ENABLE_WASAPI +#endif #if !defined(MAL_NO_DSOUND) && defined(MAL_WIN32) && defined(MAL_WIN32_DESKTOP) #define MAL_ENABLE_DSOUND #endif @@ -268,6 +271,7 @@ typedef void (* mal_log_proc) (mal_device* pDevice, const char* message); typedef enum { mal_api_null, + mal_api_wasapi, mal_api_dsound, mal_api_alsa, mal_api_sles