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
Loading
Please register or sign in to comment