include: Add AMBISONICS_PARAMS structure in audioclient.idl.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-12-15 15:08:54 +05:30 committed by Alexandre Julliard
parent e0a2692a4b
commit 38c21c3395
1 changed files with 28 additions and 0 deletions

View File

@ -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, local,
pointer_default(unique), pointer_default(unique),