From a46c8b134ab18247fd006861724490ab0af772b5 Mon Sep 17 00:00:00 2001 From: Keith Au Date: Fri, 31 Jan 2020 17:06:04 +0800 Subject: [PATCH] added default values for bit resolutions --- lib_xua/api/xua_conf_default.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 2810a7d5..a1d700f3 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -240,6 +240,20 @@ #define DEFAULT_AUDIN_FREQ (48000) #endif +/** + * @brief Default USB input (Audio output) bit resolution + */ +#ifndef DEFAULT_BIT_RES_IN +#define DEFAULT_BIT_RES_IN (16) +#endif + +/** + * @brief Default USB output (Reference input) bit resolution + */ +#ifndef DEFAULT_BIT_RES_OUT +#define DEFAULT_BIT_RES_OUT (32) +#endif + /* Audio Class Defines */ /**