dsp: adm: change channel number for AUDIO_RX_MONO_VOIP module

AUDIO_RX_MONO_VOIP module in COPreP topology doesn't support
stereo input. Update channel number to mono for
AUDIO_RX_MONO_VOIP_COPP_TOPOLOGY.

Change-Id: I23632808cfcf82496f0e8f9618e28915974fc584
Signed-off-by: Kunlei Zhang <kunleiz@codeaurora.org>
This commit is contained in:
Kunlei Zhang 2020-08-10 18:12:36 +08:00
commit 13803a3ca6
2 changed files with 3 additions and 1 deletions

View file

@ -3142,7 +3142,8 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
}
if (topology == VPM_TX_VOICE_SMECNS_V2_COPP_TOPOLOGY ||
topology == VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY)
topology == VPM_TX_VOICE_FLUENCE_SM_COPP_TOPOLOGY ||
topology == AUDIO_RX_MONO_VOIP_COPP_TOPOLOGY)
channel_mode = 1;
/*

View file

@ -5467,6 +5467,7 @@ struct afe_param_id_lpass_core_shared_clk_cfg {
#define ADM_CMD_COPP_OPEN_TOPOLOGY_ID_DTS_HPX 0x10015002
#define ADM_CMD_COPP_OPEN_TOPOLOGY_ID_AUDIOSPHERE 0x10028000
#define VPM_TX_DM_FLUENCE_EF_COPP_TOPOLOGY 0x10000005
#define AUDIO_RX_MONO_VOIP_COPP_TOPOLOGY 0x11000101
/* Memory map regions command payload used by the
* #ASM_CMD_SHARED_MEM_MAP_REGIONS ,#ADM_CMD_SHARED_MEM_MAP_REGIONS