Commit c5f47fe7 authored by David Reid's avatar David Reid

Fix a compilation error when WASAPI is disabled.

parent 206be606
...@@ -11359,6 +11359,9 @@ IMPLEMENTATION ...@@ -11359,6 +11359,9 @@ IMPLEMENTATION
typedef UINT MA_MMRESULT; typedef UINT MA_MMRESULT;
typedef UINT MA_MMVERSION; typedef UINT MA_MMVERSION;
/* IUnknown is used by both the WASAPI and DirectSound backends. It easier to just declare our version here. */
typedef struct ma_IUnknown ma_IUnknown;
#endif #endif
#if !defined(MA_WIN32) #if !defined(MA_WIN32)
...@@ -20134,7 +20137,6 @@ static const IID MA_IID_IMMDeviceEnumerator_Instance = {0xA95664D2, ...@@ -20134,7 +20137,6 @@ static const IID MA_IID_IMMDeviceEnumerator_Instance = {0xA95664D2,
#define MA_IID_IMMDeviceEnumerator &MA_IID_IMMDeviceEnumerator_Instance #define MA_IID_IMMDeviceEnumerator &MA_IID_IMMDeviceEnumerator_Instance
#endif #endif
typedef struct ma_IUnknown ma_IUnknown;
#if defined(MA_WIN32_DESKTOP) || defined(MA_WIN32_GDK) #if defined(MA_WIN32_DESKTOP) || defined(MA_WIN32_GDK)
#define MA_MM_DEVICE_STATE_ACTIVE 1 #define MA_MM_DEVICE_STATE_ACTIVE 1
#define MA_MM_DEVICE_STATE_DISABLED 2 #define MA_MM_DEVICE_STATE_DISABLED 2
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