Open Bug 1446141 Opened 7 years ago Updated 2 years ago

[wpt-sync] Sync PR 10056 - Implement tail processing for AudioNodes

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10056 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10056 Details from upstream follow. Raymond Toy wrote: > Implement tail processing for AudioNodes > > Enable tail processing by calling the necessary routines. A > continuation of https://chromium-review.googlesource.com/c/chromium/src/+/949762 > where tail processing is actually running. > > Keep nodes alive when there are no input connections so that the node > has time to flush out any internal memory. When the output of the node > is going to be disabled (because there are no inputs), place the node > on a list, without disabling the output. > > The list is processed every rendering quantum to see if the tail time > of node has passed. If the tail time has not passed, nothing is done; > otherwise, the output is disabled, and the node is removed from the > list. This allows the node to be collected, if possible. > > Bug:357843, 731518 > Test:AudioNode/tail-processing.html,DynamicsCompressor/dynamicscompressor-clear-internal-state.html > > Change-Id: I5ba37015787fbbb2342eacb57b4851b99a36b3c5 > Reviewed-on: https://chromium-review.googlesource.com/661165 > WPT-Export-Revision: c9023dd68b23c2f8a908cc32fbbb0305056af94b
Component: web-platform-tests → Web Audio
Product: Testing → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.