From 2bb5ea6a8330b0efef3e6d15add9f4e12438d5bf Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 15 Dec 2020 15:08:54 +0530 Subject: [PATCH 2/4] include: Add error codes in audioclient.idl. Signed-off-by: Biswapriyo Nath --- include/audioclient.idl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/audioclient.idl b/include/audioclient.idl index 48bdbdc..311c01c 100644 --- a/include/audioclient.idl +++ b/include/audioclient.idl @@ -399,6 +399,11 @@ cpp_quote("#define AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES AUDCLNT_ERR(0x023)") cpp_quote("#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x024)") cpp_quote("#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x025)") cpp_quote("#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x026)") +cpp_quote("#define AUDCLNT_E_RAW_MODE_UNSUPPORTED AUDCLNT_ERR(0x027)") +cpp_quote("#define AUDCLNT_E_ENGINE_PERIODICITY_LOCKED AUDCLNT_ERR(0x028)") +cpp_quote("#define AUDCLNT_E_ENGINE_FORMAT_LOCKED AUDCLNT_ERR(0x029)") +cpp_quote("#define AUDCLNT_E_HEADTRACKING_ENABLED AUDCLNT_ERR(0x030)") +cpp_quote("#define AUDCLNT_E_HEADTRACKING_UNSUPPORTED AUDCLNT_ERR(0x040)") cpp_quote("#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1)") cpp_quote("#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2)") -- 2.29.2