Try higher gain for anc

This commit is contained in:
Ben V. Brown 2023-02-04 22:23:39 +11:00 committed by Rudis Muiznieks
parent 5ee687b4eb
commit 2e4460b504
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
2 changed files with 13 additions and 14 deletions

View File

@ -171,7 +171,6 @@ const struct CODEC_DAC_VOL_T codec_dac_vol[TGT_VOLUME_LEVEL_QTY] = {
* Note that AUD_CHANNEL_MAP is offset by 1 (0 start)
*/
#define USER_TALK_MIC AUD_CHANNEL_MAP_CH4
#define USER_TALK_VMIC_CFG AUD_VMIC_MAP_VMIC3
@ -237,8 +236,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
{
.anc_cfg_ff_l =
{
// .total_gain = 440,
.total_gain = 350,
.total_gain = 440,
// .total_gain = 350,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_L,
@ -273,8 +272,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
},
.anc_cfg_ff_r =
{
// .total_gain = 382,
.total_gain = 350,
.total_gain = 382,
// .total_gain = 350,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_R,
@ -425,8 +424,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
{
.anc_cfg_ff_l =
{
// .total_gain = 440,
.total_gain = 312,
.total_gain = 440,
// .total_gain = 312,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_L,
@ -461,8 +460,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
},
.anc_cfg_ff_r =
{
// .total_gain = 382,
.total_gain = 288,
.total_gain = 382,
// .total_gain = 288,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_R,
@ -717,8 +716,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
{
.anc_cfg_ff_l =
{
// .total_gain = 440,
.total_gain = 312,
.total_gain = 440,
// .total_gain = 312,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_L,
@ -753,8 +752,8 @@ static const struct_anc_cfg POSSIBLY_UNUSED
},
.anc_cfg_ff_r =
{
// .total_gain = 382,
.total_gain = 288,
.total_gain = 382,
// .total_gain = 288,
.iir_bypass_flag = 0,
.iir_counter = IIR_COUNTER_FF_R,

View File

@ -122,7 +122,7 @@ extern const struct AUD_IO_PATH_CFG_T cfg_audio_input_path_cfg[CFG_HW_AUD_INPUT_
#define CFG_HW_AUD_OUTPUT_PATH_SPEAKER_DEV (AUD_CHANNEL_MAP_CH0)
#define CFG_HW_AUD_SIDETONE_MIC_DEV (AUD_CHANNEL_MAP_CH0)
#define CFG_HW_AUD_SIDETONE_MIC_DEV (AUD_CHANNEL_MAP_CH4)
#define CFG_HW_AUD_SIDETONE_GAIN_DBVAL (-20)
//bt config