WASAPI: Move some code out of the header section.

This commit is contained in:
David Reid
2025-07-15 11:50:45 +10:00
parent 147c6620cb
commit 5b3bc33425
+7 -11
View File
@@ -7244,17 +7244,6 @@ typedef enum
MA_ATOMIC_SAFE_TYPE_DECL(i32, 4, device_state) 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 Device job thread. This is used by backends that require asynchronous processing of certain
operations. It is not used by all backends. operations. It is not used by all backends.
@@ -21637,6 +21626,13 @@ typedef struct
MA_AUDIO_STREAM_CATEGORY eCategory; MA_AUDIO_STREAM_CATEGORY eCategory;
} ma_AudioClientProperties; } ma_AudioClientProperties;
typedef struct
{
void* lpVtbl;
ma_uint32 counter;
ma_device* pDevice;
} ma_IMMNotificationClient;
/* IUnknown */ /* IUnknown */
typedef struct typedef struct
{ {