AudioWorkletNode output channel is always mono |
||
Issue descriptionSee the attached file for repro case: A simple worklet that just passes audio directly through from input to output. It seems that the worklet always has mono input and output even if it's processing the output of a stereo node.
,
Oct 21 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d016d124d2413159ea4ac0e4787238de5bf1d051 commit d016d124d2413159ea4ac0e4787238de5bf1d051 Author: Hongchan Choi <hongchan@chromium.org> Date: Sat Oct 21 03:16:48 2017 Update AudioWorkletNode's channel count when input channel count changes This CL implements CheckNumberOfChannelsForInput() method in AudioWorkletNode, which changes output channel count when the node's input channel count changes. Bug: 776796 Test: http/tests/webaudio/audio-worklet/dynamic-channel-count.html Change-Id: I4c36d85ba55a864ffe5903825d0446d86652719e Reviewed-on: https://chromium-review.googlesource.com/731503 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#510649} [add] https://crrev.com/d016d124d2413159ea4ac0e4787238de5bf1d051/third_party/WebKit/LayoutTests/http/tests/webaudio/audio-worklet/dynamic-channel-count.html [modify] https://crrev.com/d016d124d2413159ea4ac0e4787238de5bf1d051/third_party/WebKit/Source/modules/webaudio/AudioWorkletNode.cpp [modify] https://crrev.com/d016d124d2413159ea4ac0e4787238de5bf1d051/third_party/WebKit/Source/modules/webaudio/AudioWorkletNode.h
,
Oct 21 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by hongchan@chromium.org
, Oct 20 2017