DescriptionAlways use the source channel layout with AudioBufferConverter.
There are no web sites currently using this feature, but it causes
all multichannel users to waste resources unnecessarily upmixing,
generating, and transferring empty channel data.
Further this breaks fancy OSX multichannel users which have non
standard channel layouts. Mostly because we don't want to deal
with the plethora of ways OSX wants to map channels ourselves.
Instead we can require that MSE users which want to change channel
counts, must specify the maximum number of channels in the first
initialization segment.
This also fixes use cases where clients routed multichannel streams
into WebAudio for processing instead of actual playout.
BUG=266674, 379288
TEST=Only 2 channels are created for stereo sources when a 7.1
device is connected.
R=rileya@chromium.org, wolenetz@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274068
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix comment. #Patch Set 3 : Fix unittest. #
Messages
Total messages: 11 (0 generated)
|