summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-12-29 01:13:50 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-01-04 07:41:21 -0800
commit029e31f1c57edae9a70c883342a1214be02fefe4 (patch)
treedaa2778b820a9ab2c7022bf88c572404b3cc557c
parentefb99436370fdb60e4b816dcbaf6bb20d853627b (diff)
downloadmpv-029e31f1c57edae9a70c883342a1214be02fefe4.tar.bz2
mpv-029e31f1c57edae9a70c883342a1214be02fefe4.tar.xz
ao_wasapi: correctly name the IMMNotificationClientVtbl
-rwxr-xr-xaudio/out/ao_wasapi_changenotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/ao_wasapi_changenotify.c b/audio/out/ao_wasapi_changenotify.c
index 69c702e283..acf0b45ec7 100755
--- a/audio/out/ao_wasapi_changenotify.c
+++ b/audio/out/ao_wasapi_changenotify.c
@@ -187,7 +187,7 @@ static HRESULT STDMETHODCALLTYPE sIMMNotificationClient_OnPropertyValueChanged(
return S_OK;
}
-static CONST_VTBL IMMNotificationClientVtbl sIMMDeviceEnumeratorVtbl_vtbl = {
+static CONST_VTBL IMMNotificationClientVtbl sIMMNotificationClientVtbl = {
.QueryInterface = sIMMNotificationClient_QueryInterface,
.AddRef = sIMMNotificationClient_AddRef,
.Release = sIMMNotificationClient_Release,
@@ -209,7 +209,7 @@ HRESULT wasapi_change_init(struct ao *ao, bool is_hotplug)
EXIT_ON_ERROR(hr);
// COM voodoo to emulate c++ class
- change->client.lpVtbl = &sIMMDeviceEnumeratorVtbl_vtbl;
+ change->client.lpVtbl = &sIMMNotificationClientVtbl;
// register the change notification client
hr = IMMDeviceEnumerator_RegisterEndpointNotificationCallback(