From 635ed349921d36e990628234fb427bc1098b145f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Dec 2020 15:08:54 +0530 Subject: [PATCH 1/4] include: Add AUDCLNT_STREAMOPTIONS_AMBISONICS in audioclient.idl. Signed-off-by: Biswapriyo Nath --- include/audioclient.idl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/audioclient.idl b/include/audioclient.idl index cd13be5..48bdbdc 100644 --- a/include/audioclient.idl +++ b/include/audioclient.idl @@ -113,10 +113,12 @@ interface IAudioClient : IUnknown typedef enum _AUDCLNT_STREAMOPTIONS { - AUDCLNT_STREAMOPTIONS_NONE = 0, - AUDCLNT_STREAMOPTIONS_RAW = 1, - AUDCLNT_STREAMOPTIONS_MATCH_FORMAT = 2, + AUDCLNT_STREAMOPTIONS_NONE = 0x0, + AUDCLNT_STREAMOPTIONS_RAW = 0x1, + AUDCLNT_STREAMOPTIONS_MATCH_FORMAT = 0x2, + AUDCLNT_STREAMOPTIONS_AMBISONICS = 0x4 } AUDCLNT_STREAMOPTIONS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS);") typedef struct _AudioClientProperties { -- 2.29.2