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:
Kunlei Zhang
2020-05-27 17:58:10 +08:00
parent 127718f3d9
commit b466b00787
2 changed files with 3 additions and 1 deletions

View File

@@ -3082,7 +3082,8 @@ int adm_open(int port_id, int path, int rate, int channel_mode, int topology,
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;
/*