asoc: dsp: do extention to support aptx adaptive R2
Extend the encoder configuration to support aptx adaptive R2. Change-Id: I17d7adb62539d9f59222fd0c992424ba98395383 Signed-off-by: Zhou Song <zhous@codeaurora.org>
This commit is contained in:
@@ -3207,6 +3207,15 @@ static const struct snd_kcontrol_new afe_enc_config_controls[] = {
|
||||
.get = msm_dai_q6_afe_enc_cfg_get,
|
||||
.put = msm_dai_q6_afe_enc_cfg_put,
|
||||
},
|
||||
{
|
||||
.access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
|
||||
SNDRV_CTL_ELEM_ACCESS_INACTIVE),
|
||||
.iface = SNDRV_CTL_ELEM_IFACE_PCM,
|
||||
.name = "SLIM_7_RX APTX_AD Enc Cfg",
|
||||
.info = msm_dai_q6_afe_enc_cfg_info,
|
||||
.get = msm_dai_q6_afe_enc_cfg_get,
|
||||
.put = msm_dai_q6_afe_enc_cfg_put,
|
||||
},
|
||||
SOC_ENUM_EXT("AFE Input Channels", afe_chs_enum[0],
|
||||
msm_dai_q6_afe_input_channel_get,
|
||||
msm_dai_q6_afe_input_channel_put),
|
||||
|
@@ -3852,6 +3852,9 @@ struct afe_id_aptx_adaptive_enc_init
|
||||
uint32_t min_sink_modeC;
|
||||
uint32_t max_sink_modeC;
|
||||
uint32_t mode;
|
||||
uint32_t input_mode;
|
||||
uint32_t fade_duration;
|
||||
uint8_t sink_cap[11];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user