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

Skip to content
Commit bdd9ad0a authored by kunleiz's avatar kunleiz
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
Change-Id: Id4f95a3b9dbbfaada7af159b48efb3208436000c
parent addfa4a1
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