diff options
author | Chris Robinson <[email protected]> | 2012-02-16 17:00:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-16 17:04:08 -0800 |
commit | 10257f485a77d0b5ece433bec403dc2f8a57a8c3 (patch) | |
tree | b906cb7f907e86e0da14efa928eba48baa74e9e4 /Alc/helpers.c | |
parent | deee6a73f021b6c08864ce7c9cb4e5e9d1f40beb (diff) |
Support device enumeration with mmdevapi
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r-- | Alc/helpers.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index c5e2be6c..7a55b8d9 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -44,6 +44,14 @@ DEFINE_GUID(IID_IMMDeviceEnumerator, 0xa95664d2, 0x9614, 0x4f35, 0xa7,0x46, 0xd DEFINE_GUID(IID_IAudioClient, 0x1cb9ad4c, 0xdbfa, 0x4c32, 0xb1,0x78, 0xc2,0xf5,0x68,0xa7,0x03,0xb2); DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xad,0xdc,0xa7,0xc2,0x60,0xe2); +#ifdef HAVE_MMDEVAPI +#include <propkeydef.h> +#include <devpropdef.h> + +DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c,0x23, 0xe0,0xc0,0xff,0xee,0x7f,0x0e, 4); +DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,0x20, 0x67,0xd1,0x46,0xa8,0x50,0xe0, 14); +#endif + #endif #include "alMain.h" |