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

Skip to content
Commit 49c4b8c4 authored by kunleiz's avatar kunleiz Committed by Gerrit - the friendly Code Review server
Browse files

hal: fix input stream open fail for AUDIO_SOURCE_VOICE_COMMUNICATION

When input stream starts, if no channel mask set, channel mask will
be set to STEREO by default, causing input stream starts fail in AHAL
for AUDIO_SOURCE_VOICE_COMMUNICATION. This is due to the channel mask
is not supported.

Fix this by avoid return error code. And use default record if input
configuration is not valid.

CRs-Fixed: 2225086 2243148
Change-Id: Id4f95a3b9dbbfaada7af159b48efb3208436000c
parent c84c7e66
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