[vlc-commits] [Git][videolan/vlc][master] 2 commits: audio_output: fix mmdevice.h include path

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 17 08:48:17 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b95dcf22 by Steve Lhomme at 2022-11-17T08:36:24+00:00
audio_output: fix mmdevice.h include path

- - - - -
444d5268 by Steve Lhomme at 2022-11-17T08:36:24+00:00
audio_output: winstore: add a priority so the module can be used by default

Use the same priority as the wasapi module counterpart in non-UWP builds.

- - - - -


3 changed files:

- modules/audio_output/mmdevice.c
- modules/audio_output/wasapi.c
- modules/audio_output/winstore.c


Changes:

=====================================
modules/audio_output/mmdevice.c
=====================================
@@ -42,7 +42,7 @@ DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd,
 #include <vlc_aout.h>
 #include <vlc_charset.h>
 #include <vlc_modules.h>
-#include "audio_output/mmdevice.h"
+#include "mmdevice.h"
 
 DEFINE_GUID (GUID_VLC_AUD_OUT, 0x4533f59d, 0x59ee, 0x00c6,
    0xad, 0xb2, 0xc6, 0x8b, 0x50, 0x1a, 0x66, 0x55);


=====================================
modules/audio_output/wasapi.c
=====================================
@@ -37,7 +37,7 @@
 #include <vlc_plugin.h>
 
 #include <audioclient.h>
-#include "audio_output/mmdevice.h"
+#include "mmdevice.h"
 
 #define TIMING_REPORT_DELAY VLC_TICK_FROM_MS(1000)
 


=====================================
modules/audio_output/winstore.c
=====================================
@@ -33,7 +33,7 @@
 #include <vlc_aout.h>
 #include <vlc_charset.h> // ToWide
 #include <vlc_modules.h>
-#include "audio_output/mmdevice.h"
+#include "mmdevice.h"
 
 #include <audioclient.h>
 #include <mmdeviceapi.h>
@@ -739,7 +739,7 @@ static void Close(vlc_object_t *obj)
 vlc_module_begin()
     set_shortname("winstore")
     set_description("Windows Store audio output")
-    set_capability("audio output", 0)
+    set_capability("audio output", 50)
     set_subcategory(SUBCAT_AUDIO_AOUT)
     add_shortcut("wasapi")
     set_callbacks(Open, Close)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/c27a6a579643dc5997592111fca316d8c9512c85...444d5268d9ec662a93fc076cf77168c1e41cc54d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/c27a6a579643dc5997592111fca316d8c9512c85...444d5268d9ec662a93fc076cf77168c1e41cc54d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list