diff --git a/subprojects/gst-plugins-bad/sys/wasapi/gstwasapiutil.c b/subprojects/gst-plugins-bad/sys/wasapi/gstwasapiutil.c index b963e418ac..c0fce05833 100644 --- a/subprojects/gst-plugins-bad/sys/wasapi/gstwasapiutil.c +++ b/subprojects/gst-plugins-bad/sys/wasapi/gstwasapiutil.c @@ -27,26 +27,14 @@ * initguid.h must be included in the C file before mmdeviceapi.h * which is included in gstwasapiutil.h. */ -#ifdef _MSC_VER #include -#endif #include "gstwasapiutil.h" #include "gstwasapidevice.h" GST_DEBUG_CATEGORY_EXTERN (gst_wasapi_debug); #define GST_CAT_DEFAULT gst_wasapi_debug -/* This was only added to MinGW in ~2015 and our Cerbero toolchain is too old */ -#if defined(_MSC_VER) #include -#elif !defined(PKEY_Device_FriendlyName) -#include -#include -DEFINE_PROPERTYKEY (PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, - 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14); -DEFINE_PROPERTYKEY (PKEY_AudioEngine_DeviceFormat, 0xf19f064d, 0x82c, 0x4e27, - 0xbc, 0x73, 0x68, 0x82, 0xa1, 0xbb, 0x8e, 0x4c, 0); -#endif /* __uuidof is only available in C++, so we hard-code the GUID values for all * these. This is ok because these are ABI. */