commit | bdd9ad0a8c64436732c3c3522854adac3387fa8f | [log] [tgz] |
---|---|---|
author | kunleiz <kunleiz@codeaurora.org> | Tue Apr 24 10:53:17 2018 +0800 |
committer | kunleiz <kunleiz@codeaurora.org> | Wed May 09 11:14:31 2018 +0800 |
tree | 8b0685fe74a3819499d9bb6a0d3954ac3f512bef | |
parent | addfa4a10052542091d2ccc8fea685cf0bada6f7 [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