Closed Bug 1444102 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 9925 - Set array length to 0 for disconnected worklet input

Categories

(Core :: Web Audio, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wpt-sync, Unassigned)

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 9925 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/9925 Details from upstream follow. Raymond Toy wrote: > Set array length to 0 for disconnected worklet input > > The spec says that if an input to an AudioWorkletNode is not > connected, the input should be represented as an input with a single > channel with a Float32Array of length 0. > > Make it so by passing in nullptr for that input to the > AudioWorkletGlobalScope::Process so it can fill the arrays > appropriately. > > Bug: 817145 > Change-Id: I82407ed0a9fe84c5012333af8af27f4dd08d29b8 > Reviewed-on: https://chromium-review.googlesource.com/953970 > WPT-Export-Revision: 1dd8ac8825caabe0c1f37cd2de4fbc0cd95fef05
Component: web-platform-tests → Web Audio
Product: Testing → Core
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/df3a4f8111c6 [wpt PR 9925] - Set array length to 0 for disconnected worklet input, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.