summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-xaudio/out/ao_wasapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h
index 55cf79d8e0..43c81a89d2 100755
--- a/audio/out/ao_wasapi.h
+++ b/audio/out/ao_wasapi.h
@@ -30,6 +30,14 @@
#include "osdep/atomics.h"
+typedef struct change_notify {
+ IMMNotificationClient client;
+ LPWSTR monitored; /* Monitored device */
+} change_notify;
+
+HRESULT wasapi_change_init(struct change_notify *change, IMMDevice *monitor);
+void wasapi_change_free(struct change_notify *change);
+
typedef struct wasapi_state {
struct mp_log *log;
HANDLE threadLoop;