From 6883619b14c5b86ff29a691e17d3a19ad550fadd Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 27 Nov 2014 17:12:54 -0800 Subject: Check mmdevice endpoint for being headphones --- Alc/helpers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/helpers.c') diff --git a/Alc/helpers.c b/Alc/helpers.c index 5dded699..78d359fe 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -58,7 +58,9 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xa #ifdef HAVE_MMDEVAPI #include +#include DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,0x20, 0x67,0xd1,0x46,0xa8,0x50,0xe0, 14); +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_FormFactor, 0x1da5d803, 0xd492, 0x4edd, 0x8c,0x23, 0xe0,0xc0,0xff,0xee,0x7f,0x0e, 0); #endif #endif #endif /* AL_NO_UID_DEFS */ -- cgit v1.2.3