From 46840ee787c7ac95e32765a2c2dec6b7b6fc5c7c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 14 Jun 2012 18:10:10 -0700 Subject: [PATCH] Add DEVPKEY_Device_FriendlyName declaration for mingw-w64 compatibility --- Alc/backends/mmdevapi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c index 36a11e2d..0edd8e60 100644 --- a/Alc/backends/mmdevapi.c +++ b/Alc/backends/mmdevapi.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -45,6 +46,8 @@ DEFINE_GUID(KSDATAFORMAT_SUBTYPE_PCM, 0x00000001, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); +DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,0x20, 0x67,0xd1,0x46,0xa8,0x50,0xe0, 14); + #define MONO SPEAKER_FRONT_CENTER #define STEREO (SPEAKER_FRONT_LEFT|SPEAKER_FRONT_RIGHT) #define QUAD (SPEAKER_FRONT_LEFT|SPEAKER_FRONT_RIGHT|SPEAKER_BACK_LEFT|SPEAKER_BACK_RIGHT)