DescriptionHandle invalid hardware output parameters in AudioRendererHost.
It may happen that the audio parameters returned by a hardware device are invalid for Chromium.
If the invalidity is caused only by having too many output channels, return the maximum allowed channels to make sure there are no serialization problems. This does not matter in practice, as streams are created using the input channels.
BUG=568860
NOTRY=true
NOPRESUBMIT=true
TBR=
Review URL: https://codereview.chromium.org/1542103002
Cr-Commit-Position: refs/heads/master@{#368316}
(cherry picked from commit 2d0a4f0bf564bbef1b001004a0d54b9845bc21ad)
Patch Set 1 #
Messages
Total messages: 15 (9 generated)
|