#if TCFG_AEC_SIMPLEX
/限幅器-噪声门限/
const int CONST_NOISE_LIMITER = 1;/使能/
const u8 CONST_AEC_SIMPLEX = 1;
#else
/限幅器-噪声门限/
const int CONST_NOISE_LIMITER = 0;/使能/
const u8 CONST_AEC_SIMPLEX = 0;
#endif
2
#if TCFG_AEC_SIMPLEX
.wn_en = 1,
#else
.wn_en = 0,
#endif
3
#if TCFG_AEC_SIMPLEX
aec_param.enablebit = AEC_MODE_SIMPLEX;
if (sr == 8000) {
aec_param.SimplexTail = aec_param.SimplexTail / 2;
}
#endif
4
#define TCFG_AEC_SIMPLEX 0 //通话单工模式配置
5
#if TCFG_AEC_SIMPLEX
req.play.noise_limiter = 1;
#endif
6
#if TCFG_AEC_SIMPLEX
clk_set(“sys”, BT_CALL_16k_SIMPLEX_HZ);
#else
if (aec_param.enablebit == AEC_MODE_ADVANCE) {
clk_set(“sys”, BT_CALL_16k_ADVANCE_HZ);
} else {
clk_set(“sys”, BT_CALL_16k_HZ);
}
#endif
7
#if TCFG_AEC_SIMPLEX
clk_set(“sys”, BT_CALL_SIMPLEX_HZ);
#else
if (aec_param.enablebit == AEC_MODE_ADVANCE) {
clk_set(“sys”, BT_CALL_ADVANCE_HZ);
} else {
clk_set(“sys”, BT_CALL_HZ);
}
#endif