Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 81603b67 authored by yidongh's avatar yidongh Committed by Gerrit - the friendly Code Review server
Browse files

hal: check usecase type before checking out_snd_device backend match

input_snd_device for voip_call may be wrongly switched when selecting
device for other usecase like audio-record with voip active because of
regression of previous change, thus when VoIP use out_snd_device of
other usecase for cal block register, it may fail because other usecase
has no out_snd_device and finally Rx gets mute.

Only check out_snd_device backend match for usecase type PCM_PLAYBACK.

Change-Id: Id063b47e5c154249e502b7abfb9a639d3229dbba
CRs-Fixed: 2046903
parent eb8b7bcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment