aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorDmytry Lavrov <[email protected]>2016-09-06 19:22:42 -0500
committerDmytry Lavrov <[email protected]>2016-09-06 19:25:44 -0500
commit6b7e14f11f6eea9d77dcf6076fbecaffb1b6d1ab (patch)
tree7bc3bb5f2c7f645d75612e7082e20f832cb6ba86 /Alc/helpers.c
parent1d9d1958db4b14da654a3bc3f362582829596c75 (diff)
mmdevapi: Allow specifying output device by it's audio endpoint GUID or by the device id string (Oculus VR api requires you to play back on a specific device).
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 9d7d564f..9b6c7894 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -65,6 +65,7 @@ DEFINE_GUID(IID_IAudioCaptureClient, 0xc8adbd64, 0xe71e, 0x48a0, 0xa4,0xde, 0x1
#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);
+DEFINE_PROPERTYKEY(PKEY_AudioEndpoint_GUID, 0x1da5d803, 0xd492, 0x4edd, 0x8c, 0x23,0xe0, 0xc0,0xff,0xee,0x7f,0x0e, 4 );
#endif
#endif
#endif /* AL_NO_UID_DEFS */