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
bovenliggende d135c72b0b
commit 13803a3ca6
2 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen

Bestand weergeven

@@ -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;
/*