Closed Bug 1853598 Opened 2 years ago Closed 2 years ago

fetch whole block of OscillatorNode AudioParam values at once

Categories

(Core :: Web Audio, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

Details

Attachments

(4 files)

This saves 11-18% on the Periodic Wave with Automation benchmark and 6-12% on Substractive synth, and further improvements should be possible with bug 1853597.

Converting an ECMAScript value an IDL enumeration type throws if the string is
not one of the enumeration values.
https://webidl.spec.whatwg.org/#es-enumeration

Assignee: nobody → karlt
Status: NEW → ASSIGNED

GetValuesAtTime() is more appropriate on the rendering thread and non-zero
aCounter was already unsupported on the control thread.

Depends on D188434

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0bc4d3dab8a clarify that no silence OscillatorType exists r=padenot https://hg.mozilla.org/integration/autoland/rev/82a51fd41a66 fetch whole block of OscillatorNode AudioParam values at once r=padenot
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b2d3bd59737 remove now unused AudioParamTimeline::GetValueAtTime(aTime, aCounter) r=padenot https://hg.mozilla.org/integration/autoland/rev/68879cdd20f5 remove unused control thread / double TimeType GetValuesAtTime() r=padenot
Regressions: CVE-2024-0745
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: