diff --git a/miniaudio.h b/miniaudio.h index 8384f301..f0cfd2f2 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -7244,17 +7244,6 @@ typedef enum MA_ATOMIC_SAFE_TYPE_DECL(i32, 4, device_state) -#ifdef MA_SUPPORT_WASAPI -/* We need a IMMNotificationClient object for WASAPI. */ -typedef struct -{ - void* lpVtbl; - ma_uint32 counter; - ma_device* pDevice; -} ma_IMMNotificationClient; -#endif - - /* Device job thread. This is used by backends that require asynchronous processing of certain operations. It is not used by all backends. @@ -21637,6 +21626,13 @@ typedef struct MA_AUDIO_STREAM_CATEGORY eCategory; } ma_AudioClientProperties; +typedef struct +{ + void* lpVtbl; + ma_uint32 counter; + ma_device* pDevice; +} ma_IMMNotificationClient; + /* IUnknown */ typedef struct {