Closed Bug 949683 Opened 11 years ago Closed 10 years ago

Optimize zero-gain in GainNode

Categories

(Core :: Web Audio, defect, P1)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: karlt, Assigned: karlt)

References

Details

(Keywords: perf)

Attachments

(1 file)

Performance of the Web Audio graph is heavily dependent on skipping processing of silence because processing in unreferenced nodes continues until they are garbage collected.

Nodes should produce a null chunk when they know the output is silent.  If not, the rest of the graph downstream will need to process the chunk.
Keywords: perf
Priority: -- → P1
Attached patch zero.gainSplinter Review
Attachment #8346819 - Flags: review?(paul)
Attachment #8346819 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/0adf7f1396bc
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: