diff options
author | Chris Robinson <[email protected]> | 2014-11-27 17:12:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-27 17:43:37 -0800 |
commit | 6883619b14c5b86ff29a691e17d3a19ad550fadd (patch) | |
tree | 7e819c9e515661ad6f30c9ecd77a8d6977dc53bc /Alc/helpers.c | |
parent | 8d6d2e9a2b0084e9c8137354836bf747107b567e (diff) |
Check mmdevice endpoint for being headphones
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <devpropdef.h> +#include <propkeydef.h> 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 */ |