]> git.sesse.net Git - vlc/commitdiff
winstore: Use the correct variable to fetch IAudioClient instance
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 9 Jan 2015 09:40:06 +0000 (10:40 +0100)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 28 Jan 2015 11:24:42 +0000 (12:24 +0100)
modules/audio_output/winstore.c

index 0c0190bbaeff104d8061ffe472229e732e81da61..5d769008dba7c23b500711735960b745cf81a83d 100644 (file)
@@ -178,7 +178,7 @@ static int Open(vlc_object_t *obj)
 
     aout->sys = sys;
     sys->stream = NULL;
-    sys->client = var_InheritAddress(aout, "mmdevice-audioclient");
+    sys->client = var_InheritInteger(aout, "winstore-audioclient");
     assert(sys->client != NULL);
     aout->start = Start;
     aout->stop = Stop;