Closed Bug 851949 Opened 11 years ago Closed 11 years ago

Avoid setting AudioParam values needlessly

Categories

(Core :: Web Audio, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

One optimization which we can do for AudioParam is to make sure that SetValue() calls that do not result in the value being changed at all will become no-ops, in order to avoid the overhead of sending the same value to the MSG thread again, which is pointless anyway.
Attached patch Patch (v1) (deleted) — Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #725920 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/019dfc114d05
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Mass moving Web Audio bugs to the Web Audio component.  Filter on duckityduck.
Component: Video/Audio → Web Audio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: