Whether process() is called for an AudioWorkletNode should depend on whether the active source flag is true and whether the AudioNodes connected to inputs are actively processing #2574
Labels
category: editorial
Editorial changes that do not affect interpretation. https://www.w3.org/policies/process/#class-2
Needs Edits
Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/
Priority: Eventually
"nice to have". https://speced.github.io/spec-maintenance/about/
size: S
Small amount of work expected to resolve.
The "rendering a render quantum" steps steps appear to keep calling
process()
for allAudioWorkletNode
s that are "still alive" and have [[callable process]] true.The only place that I see the active source flag read is in the definition of actively processing.
"still alive" is not defined, but I don't think it is necessary either.
It's tempting to simply replace "still alive" with "actively processing", but this would be problematic due to the dependency of "actively processing" state on the "in a cycle" state, which has not yet been determined at this point in the algorithm.
Perhaps a more carefully placed check on "actively processing" in the "rendering a render quantum" steps would be sufficient to address this.
The text was updated successfully, but these errors were encountered: