dsp: adm: change channel number for SMECNS_V2 module
SMECNS_V2 module in COPreP topology doesn't support stereo input. Update channel number to mono for VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY, which contains SMECNS_V2 module. Change-Id: I04b971b41328f6a32bf0ff42b21496b49bb4140b Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
This commit is contained in:
parent
979ae8e796
commit
c0cd19e0b6
@ -2833,6 +2833,9 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
|
||||
(topology == VPM_TX_DM_RFECNS_COPP_TOPOLOGY))
|
||||
rate = 16000;
|
||||
|
||||
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY)
|
||||
channel_mode = 1;
|
||||
|
||||
/*
|
||||
* Routing driver reuses the same adm for streams with the same
|
||||
* app_type, sample_rate etc.
|
||||
|
@ -4892,6 +4892,7 @@ struct afe_param_id_lpass_core_shared_clk_cfg {
|
||||
#define COMPRESSED_PASSTHROUGH_DEFAULT_TOPOLOGY 0x0001076B
|
||||
#define COMPRESSED_PASSTHROUGH_NONE_TOPOLOGY 0x00010774
|
||||
#define VPM_TX_SM_ECNS_V2_COPP_TOPOLOGY 0x00010F89
|
||||
#define VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY 0x10000003
|
||||
#define VPM_TX_DM_FLUENCE_COPP_TOPOLOGY 0x00010F72
|
||||
#define VPM_TX_QMIC_FLUENCE_COPP_TOPOLOGY 0x00010F75
|
||||
#define VPM_TX_DM_RFECNS_COPP_TOPOLOGY 0x00010F86
|
||||
|
Loading…
Reference in New Issue
Block a user