summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-12-29 01:13:17 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-01-04 07:41:21 -0800
commitefb99436370fdb60e4b816dcbaf6bb20d853627b (patch)
tree34914766602d692bc7b49a379af5e29b3b8d67c5 /audio/out/ao_wasapi.h
parent243a2976a8721283e8c6ff1e6cb77230762fe9ab (diff)
downloadmpv-efb99436370fdb60e4b816dcbaf6bb20d853627b.tar.bz2
mpv-efb99436370fdb60e4b816dcbaf6bb20d853627b.tar.xz
ao_wasapi: make persistent enumerator local to change_notify
This is no longer required by anything else
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rwxr-xr-xaudio/out/ao_wasapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h
index f54e63a783..d7a650c3e3 100755
--- a/audio/out/ao_wasapi.h
+++ b/audio/out/ao_wasapi.h
@@ -30,6 +30,7 @@
typedef struct change_notify {
IMMNotificationClient client; // this must be first in the structure!
+ IMMDeviceEnumerator *pEnumerator; // object where client is registered
LPWSTR monitored; // Monitored device
bool is_hotplug;
struct ao *ao;
@@ -69,7 +70,6 @@ typedef struct wasapi_state {
IMMDevice *pDevice;
IAudioClient *pAudioClient;
IAudioRenderClient *pRenderClient;
- IMMDeviceEnumerator *pEnumerator;
// WASAPI internal clock information, for estimating delay
IAudioClock *pAudioClock;