mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
WASAPI: Move some code out of the header section.
This commit is contained in:
+7
-11
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user