dsp: adm: change channel number for FLUENCE_SM module
FLUENCE_SM module in COPreP topology doesn't support stereo input. Update channel number to mono for VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY. Change-Id: I7de7b49706387b09031f67e1a0271db1825cb81d Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
This commit is contained in:
@@ -3082,7 +3082,8 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
|
|||||||
this_adm.ffecns_port_id);
|
this_adm.ffecns_port_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY)
|
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY ||
|
||||||
|
topology == VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY)
|
||||||
channel_mode = 1;
|
channel_mode = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -5380,6 +5380,7 @@ struct afe_param_id_lpass_core_shared_clk_cfg {
|
|||||||
#define COMPRESSED_PASSTHROUGH_NONE_TOPOLOGY 0x00010774
|
#define COMPRESSED_PASSTHROUGH_NONE_TOPOLOGY 0x00010774
|
||||||
#define VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY 0x00010F89
|
#define VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY 0x00010F89
|
||||||
#define VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY 0x10000003
|
#define VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY 0x10000003
|
||||||
|
#define VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY 0x10000004
|
||||||
#define VPM_TX_DM_FLUENCE_COPP_TOPOLOGY 0x00010F72
|
#define VPM_TX_DM_FLUENCE_COPP_TOPOLOGY 0x00010F72
|
||||||
#define VPM_TX_QMIC_FLUENCE_COPP_TOPOLOGY 0x00010F75
|
#define VPM_TX_QMIC_FLUENCE_COPP_TOPOLOGY 0x00010F75
|
||||||
#define VPM_TX_DM_RFECNS_COPP_TOPOLOGY 0x00010F86
|
#define VPM_TX_DM_RFECNS_COPP_TOPOLOGY 0x00010F86
|
||||||
|
Reference in New Issue
Block a user