commit | 99754d0f14c6cdd4e47799af925488c8e0694bb2 | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Tue Apr 24 10:53:17 2018 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri May 18 01:25:48 2018 -0700 |
tree | e860a6c2fc00cb44500dfc61c7fe21ab7db1a3c6 | |
parent | d10d0fca4deebc8a0d20cd7b7ca9807facce2c1c [diff] |
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