mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
asoc : send chanel mixer while rerouting sound device
Channel mixer has to sent while the sound devices are rerouted as capture/playback prepare will not be called during rerouting. Change-Id: I8473d89c7aff9f5f2a1dd2f3f4a8fa5d387b2429 Signed-off-by: Manoj Kumar N D <quic_mnd@quicinc.com>
This commit is contained in:
parent
a716af0907
commit
9e949d228f
1 changed files with 3 additions and 0 deletions
|
|
@ -32338,6 +32338,9 @@ static int msm_pcm_routing_prepare(struct snd_pcm_substream *substream)
|
|||
(fdai->passthr_mode == LEGACY_PCM))
|
||||
msm_pcm_routing_cfg_pp(port_id, copp_idx,
|
||||
topology, channels);
|
||||
if(msm_pcm_routing_channel_mixer(i, fdai->perf_mode,fdai->strm_id, session_type)){
|
||||
pr_err("%s: failed to send channel mixer \n", __func__);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue