mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
wasapi: try to satisfy both mingw and msvc
Fix-up for previous commit, hopefully.
This commit is contained in:
parent
9387a936b5
commit
1da3cd56a0
2 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_wasapi_debug);
|
|||
#if defined(_MSC_VER)
|
||||
#include <functiondiscoverykeys_devpkey.h>
|
||||
#elif !defined(PKEY_Device_FriendlyName)
|
||||
#include <initguid.h>
|
||||
#include <propkey.h>
|
||||
DEFINE_PROPERTYKEY (PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,
|
||||
0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14);
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
#include <gst/audio/gstaudiosrc.h>
|
||||
#include <gst/audio/gstaudiosink.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <initguid.h>
|
||||
#endif
|
||||
#include <mmdeviceapi.h>
|
||||
#include <audioclient.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue