[PATCH 3/4] include: Add AMBISONICS_PARAMS structure in audioclient.idl.

Biswapriyo Nath nathbappai at gmail.com
Tue Dec 15 03:43:22 CST 2020


-------------- next part --------------
From b9fcbe0272890c00641a30beb77db797fe6ebb95 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Tue, 15 Dec 2020 15:08:54 +0530
Subject: [PATCH 3/4] include: Add AMBISONICS_PARAMS structure in audioclient.idl.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 include/audioclient.idl | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/include/audioclient.idl b/include/audioclient.idl
index 311c01c..e1a4200 100644
--- a/include/audioclient.idl
+++ b/include/audioclient.idl
@@ -333,6 +333,34 @@ interface IAudioStreamVolume : IUnknown
     );
 }
 
+typedef enum AMBISONICS_TYPE
+{
+    AMBISONICS_TYPE_FULL3D = 0x0,
+} AMBISONICS_TYPE;
+
+typedef enum AMBISONICS_CHANNEL_ORDERING
+{
+    AMBISONICS_CHANNEL_ORDERING_ACN = 0x0,
+} AMBISONICS_CHANNEL_ORDERING;
+
+typedef enum AMBISONICS_NORMALIZATION
+{
+    AMBISONICS_NORMALIZATION_SN3D = 0x0,
+    AMBISONICS_NORMALIZATION_N3D = 0x1,
+} AMBISONICS_NORMALIZATION;
+
+typedef struct AMBISONICS_PARAMS
+{
+    UINT32 u32Size;
+    UINT32 u32Version;
+    AMBISONICS_TYPE u32Type;
+    AMBISONICS_CHANNEL_ORDERING u32ChannelOrdering;
+    AMBISONICS_NORMALIZATION u32Normalization;
+    UINT32 u32Order;
+    UINT32 u32NumChannels;
+    UINT32 *pu32ChannelMap;
+} AMBISONICS_PARAMS;
+
 [
     local,
     pointer_default(unique),
-- 
2.29.2



More information about the wine-devel mailing list