ASoC: msm: qdsp6v2: Add dynamic chmix config support
Add support to dynamically configure channel mixing weightage coefficients for both ASM and LSM sessions. Currently the code is executed only for LSM session and can be extended to ASM as well. Change-Id: I727ea6fa2d3a99bbf6811005c5733535f680891b Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Este commit está contenido en:

cometido por
Gerrit - the friendly Code Review server

padre
3693b6559c
commit
eed46bd521
@@ -454,6 +454,9 @@ enum {
|
||||
#define BE_DAI_PORT_SESSIONS_IDX_MAX 4
|
||||
#define BE_DAI_FE_SESSIONS_IDX_MAX 2
|
||||
|
||||
#define STREAM_TYPE_ASM 0
|
||||
#define STREAM_TYPE_LSM 1
|
||||
|
||||
enum {
|
||||
ADM_TOPOLOGY_CAL_TYPE_IDX = 0,
|
||||
ADM_LSM_TOPOLOGY_CAL_TYPE_IDX,
|
||||
@@ -543,4 +546,7 @@ int msm_pcm_routing_reg_stream_app_type_cfg(
|
||||
int msm_pcm_routing_get_stream_app_type_cfg(
|
||||
int fedai_id, int session_type, int *be_id,
|
||||
struct msm_pcm_stream_app_type_cfg *cfg_data);
|
||||
int msm_pcm_routing_send_chmix_cfg(int fe_id, int ip_channel_cnt,
|
||||
int op_channel_cnt, int *ch_wght_coeff,
|
||||
int session_type, int stream_type);
|
||||
#endif /*_MSM_PCM_H*/
|
||||
|
Referencia en una nueva incidencia
Block a user