From 30ff70da229efda7129f811115d936fd67f479ca Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Dec 2020 15:08:54 +0530 Subject: [PATCH 4/4] include: Add IAudioAmbisonicsControl interface in audioclient.idl. Signed-off-by: Biswapriyo Nath --- include/audioclient.idl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/audioclient.idl b/include/audioclient.idl index e1a4200..754ae58 100644 --- a/include/audioclient.idl +++ b/include/audioclient.idl @@ -361,6 +361,32 @@ typedef struct AMBISONICS_PARAMS UINT32 *pu32ChannelMap; } AMBISONICS_PARAMS; +[ + local, + pointer_default(unique), + uuid(28724c91-df35-4856-9f76-d6a26413f3df), + object, +] +interface IAudioAmbisonicsControl : IUnknown +{ + HRESULT SetData( + [in] const AMBISONICS_PARAMS *param, + [in] UINT32 size + ); + HRESULT SetHeadTracking( + [in] BOOL enable + ); + HRESULT GetHeadTracking( + [out] BOOL *enable + ); + HRESULT SetRotation( + [in] float x, + [in] float y, + [in] float z, + [in] float w + ); +} + [ local, pointer_default(unique), -- 2.29.2