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:
@@ -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;
|
||||
|
||||
/*
|
||||
|
Verwijs in nieuw issue
Block a user