Closed Bug 885493 Opened 12 years ago Closed 12 years ago

Remove calls to WriteZeroesToAudioBlock to optimize AudioNodeExternalInputStream

Categories

(Core :: Web Audio, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bobby, Assigned: bobby)

References

Details

WriteZeroesToAudioBlock is used in AudioNodeExternalInputStream in https://bugzilla.mozilla.org/show_bug.cgi?id=856361 just to be careful about the amount of data that is written to chunks. If enough data is not available, less than 128 frames of data may be written. We should simply catch that case and fill the rest of the chunk with zeros using WriteZeroesToAudioBlock with the correct offsets.
This code doesn't exist any more.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.