AudioParams with automations must process timelines
Currently, if an AudioNode has no inputs connected, any automations
(or connections) to an AudioParam of the node is not processed. Thus,
time never advances on the AudioParam, and any upstream graph
connected to the AudioParam never gets pulled for data.
AudioParam should get processed so that time progresses. Normal
processing of the node causes AudioParams to be processed, so we were
only missing the case where the node has silent inputs (silent or no
inputs). Then we just need to update the AudioParams, without having
to do the full processing associated with the node.
See
https://webaudio.github.io/web-audio-api/#rendering-loop, step 8.1.1
in particular that says any inputs connected to an AudioParam are
processed. There are no conditions on when this happens.
BUG=
647974
TEST=audioparam-processing.html
Review-Url:
https://codereview.chromium.org/2420983002
Cr-Commit-Position: refs/heads/master@{#442662}
Committed:
https://chromium.googlesource.com/chromium/src/+/69350f73e4ed47dac12cb087ee4bb6ec64a12a2b