Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13803a3c authored by Kunlei Zhang's avatar Kunlei Zhang
Browse files

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: default avatarKunlei Zhang <kunleiz@codeaurora.org>
parent d135c72b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;

	/*
+1 −0
Original line number Diff line number Diff line
@@ -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