DescriptionImproves stereo/mono audio support on Android.
Fixes some issues related to calling WebRtcAudioManager.setStereoOutput(true)
and WebRtcAudioManager.setStereoInput(true) and ensures that the ADM reports
correct values related to stereo support given these settings.
Also makes it more clear that the OpenSLES audio implementation does not support
stereo (we now fail in Init()).
To summarize: this change ensures that the user can ask for stereo input
and/or stereo output audio on Android in combination with the Java based
audio layer. By default (if no WebRtcAudioManager.setStereoXXX() APIs are called), mono will be used.
BUG=webrtc:7962
Review-Url: https://codereview.webrtc.org/3009193002
Cr-Commit-Position: refs/heads/master@{#19763}
Committed: https://chromium.googlesource.com/external/webrtc/+/76535de14fa3d823b30f015d76b535887699dc8f
Patch Set 1 #Patch Set 2 : improved comments #
Total comments: 2
Patch Set 3 : nit #
Messages
Total messages: 18 (14 generated)
|