Closed Bug 1186781 Opened 9 years ago Closed 9 years ago

Skip AllocateAudioBlock() allocations known to be unnecessary.

Categories

(Core :: Web Audio, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: karlt, Unassigned)

Details

Attachments

(1 file)

      No description provided.
This takes the simple win.  It doesn't know when downstream nodes are no
longer using the buffer, but this is enough to skip about a quarter of these
allocations in a mochitest run and on
http://webaudiodemos.appspot.com/MIDIDrums/index.html
Attachment #8637725 - Flags: review?(padenot)
Attachment #8637725 - Flags: review?(padenot) → review+
https://hg.mozilla.org/mozilla-central/rev/08180ddf47e5
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: