From efb99436370fdb60e4b816dcbaf6bb20d853627b Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Tue, 29 Dec 2015 01:13:17 -0800 Subject: ao_wasapi: make persistent enumerator local to change_notify This is no longer required by anything else --- audio/out/ao_wasapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/ao_wasapi.h') 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; -- cgit v1.2.3