Skip to content

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

Open
@karlt

Description

@karlt

The "rendering a render quantum" steps steps appear to keep calling process() for all AudioWorkletNodes 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs EditsDecision 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/category: editorialEditorial changes that do not affect interpretation. https://www.w3.org/policies/process/#class-2size: SSmall amount of work expected to resolve.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions