Closed Bug 2091257 Opened 20 days ago Closed 8 days ago

[wpt-sync] Sync PR 64950 - [WebAudio] Render audiobuffersource-multi-channels.html at 8820 Hz

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64950 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64950
Details from upstream follow.

Mahesh Kannan <kmaheshb@google.com> wrote:

[WebAudio] Render audiobuffersource-multi-channels.html at 8820 Hz

The test compares 6 x 44100 samples one by one through
assert_array_approx_equals, which takes ~34 s on linux-blink-msan-rel
against a 50 s budget and times out on the first attempt in most runs.

Render at 8820 Hz (44100 / 5) so the 1 s 5.1 tone compares 5x fewer
samples, and regenerate the reference WAV at that rate: the same sines
createToneBuffer() produces, rounded to int16 (x32767 for positive and
x32768 for negative values). Widen the tolerance from 1 to 2 LSB so
decoders that scale symmetrically by 1/32768 also pass.

Bug: 582303755
Test: audiobuffersource-multi-channels.html (headless_shell, msan try)
Change-Id: I951eddaf3cd4dd1c41fe28ba294d7fdd0ff4be14
Reviewed-on: https://chromium-review.googlesource.com/8758775
WPT-Export-Revision: 9b62dadde4d7e3e7bce3a4d843ac5c48061c512b

Component: web-platform-tests → Web Audio
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ffc294a873cf https://hg.mozilla.org/integration/autoland/rev/c82c32d70391 [wpt PR 64950] - [WebAudio] Render audiobuffersource-multi-channels.html at 8820 Hz, a=testonly
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.