Commit a03ed325 authored by David Reid's avatar David Reid

Prep work for WASAPI.

parent 85ce6df2
...@@ -165,6 +165,9 @@ extern "C" { ...@@ -165,6 +165,9 @@ extern "C" {
#endif #endif
#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) #if !defined(MAL_NO_DSOUND) && defined(MAL_WIN32) && defined(MAL_WIN32_DESKTOP)
#define MAL_ENABLE_DSOUND #define MAL_ENABLE_DSOUND
#endif #endif
...@@ -268,6 +271,7 @@ typedef void (* mal_log_proc) (mal_device* pDevice, const char* message); ...@@ -268,6 +271,7 @@ typedef void (* mal_log_proc) (mal_device* pDevice, const char* message);
typedef enum typedef enum
{ {
mal_api_null, mal_api_null,
mal_api_wasapi,
mal_api_dsound, mal_api_dsound,
mal_api_alsa, mal_api_alsa,
mal_api_sles mal_api_sles
......
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