asoc: msm-pcm-routing: add msm_pcm_routing_get_pp_ch_cnt

Based on the type of pre/post processing, it is possible that
the processed channel count could be different from the input
channel count. As an example, the FFECNS processing block
could accept 3 channel input and has the ability to output
upto 9 channels of processed data. In cases like these, the
stream side needs to know the processed channel count to set
up its own configuration. Change adds functionality in
routing driver to read the processed channel count.

Change-Id: I06c365f8c53270712709631bc23649d37434f405
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
This commit is contained in:
Bhalchandra Gajare
2018-05-17 00:09:19 -07:00
committed by Gerrit - the friendly Code Review server
parent eed46bd521
commit 3b1c926e42
2 changed files with 34 additions and 0 deletions

View File

@@ -549,4 +549,5 @@ int msm_pcm_routing_get_stream_app_type_cfg(
int msm_pcm_routing_send_chmix_cfg(int fe_id, int ip_channel_cnt,
int op_channel_cnt, int *ch_wght_coeff,
int session_type, int stream_type);
int msm_pcm_routing_get_pp_ch_cnt(int fe_id, int session_type);
#endif /*_MSM_PCM_H*/