Attached patch OK? The GUIDs seem to be copies from the existing constants.
From e97f599818e77d2a13ec8777cb2cfa6b56ed872c Mon Sep 17 00:00:00 2001 From: Jonathan Yong <[email protected]> Date: Sun, 18 Apr 2021 07:25:23 +0000 Subject: [PATCH] Core Audio Constants
Signed-off-by: Jonathan Yong <[email protected]> --- mingw-w64-headers/include/audiosessiontypes.h | 2 ++ .../include/functiondiscoverykeys_devpkey.h | 2 ++ mingw-w64-headers/include/spatialaudiometadata.h | 13 +++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 mingw-w64-headers/include/spatialaudiometadata.h diff --git a/mingw-w64-headers/include/audiosessiontypes.h b/mingw-w64-headers/include/audiosessiontypes.h index 91e72130..c0246077 100644 --- a/mingw-w64-headers/include/audiosessiontypes.h +++ b/mingw-w64-headers/include/audiosessiontypes.h @@ -50,6 +50,8 @@ typedef enum _AUDIO_STREAM_CATEGORY { #define AUDCLNT_STREAMFLAGS_EVENTCALLBACK 0x00040000 #define AUDCLNT_STREAMFLAGS_NOPERSIST 0x00080000 #define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000 +#define AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY 0x08000000 +#define AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM 0x80000000 #define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000 diff --git a/mingw-w64-headers/include/functiondiscoverykeys_devpkey.h b/mingw-w64-headers/include/functiondiscoverykeys_devpkey.h index d66cb97f..55df4c9e 100644 --- a/mingw-w64-headers/include/functiondiscoverykeys_devpkey.h +++ b/mingw-w64-headers/include/functiondiscoverykeys_devpkey.h @@ -9,5 +9,7 @@ #include <propkeydef.h> DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14); +DEFINE_PROPERTYKEY(PKEY_Device_DeviceDesc, 0xa45c254e,0xdf1c,0x4efd,0x80,0x20,0x67,0xd1,0x46,0xa8,0x50,0xe0, 2); +DEFINE_PROPERTYKEY(PKEY_DeviceInterface_FriendlyName, 0x026e516e,0xb814,0x414b,0x83,0xcd,0x85,0x6d,0x6f,0xef,0x48,0x22, 2); #endif /* _INC_FUNCTIONDISCOVERYKEYS */ diff --git a/mingw-w64-headers/include/spatialaudiometadata.h b/mingw-w64-headers/include/spatialaudiometadata.h new file mode 100644 index 00000000..7d303291 --- /dev/null +++ b/mingw-w64-headers/include/spatialaudiometadata.h @@ -0,0 +1,13 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ +#ifndef _INC_SPATIALAUDIOMETADATA +#define _INC_SPATIALAUDIOMETADATA + +#define SPATIAL_AUDIO_POSITION 200 +#define SPATIAL_AUDIO_POSITION_BYTE_COUNT sizeof(float) * 3 +#define SPATIAL_AUDIO_STANDARD_COMMANDS_START 200 + +#endif /* _INC_SPATIALAUDIOMETADATA */ -- 2.31.1
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
