Closed
Bug 1199559
Opened 9 years ago
Closed 9 years ago
produce generated AudioBuffer contents in a format suitable for direct use
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: karlt, Assigned: karlt)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(9 files)
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
40 bytes,
text/x-review-board-request
|
padenot
:
review+
|
Details |
We can avoid copies of buffers with content generated by decodeAudioData OfflineAudioContext and ScriptProcessorNode.
Assignee | ||
Comment 1•9 years ago
|
||
bug 1199559 permit writing to ThreadSharedFloatArrayBufferList when not shared r?padenot Being able to write to the channel data in the buffer list saves the creator from needing to manage its own pointers to the channel data.
Attachment #8653905 -
Flags: review?(padenot)
Assignee | ||
Comment 2•9 years ago
|
||
bug 1199559 add a helper to fallibly allocate ThreadSharedFloatArrayBufferList with buffers r?padenot
Attachment #8653906 -
Flags: review?(padenot)
Assignee | ||
Comment 3•9 years ago
|
||
bug 1199559 add a factory method to accept generated buffer contents in a format suitable for direct use r?padenot This API lets AudioBuffer generators avoid a copy. Future modifications to AudioBuffer will remove the unnecessary initial allocation and zeroing.
Attachment #8653907 -
Flags: review?(padenot)
Assignee | ||
Comment 4•9 years ago
|
||
bug 1199559 write offline buffer in a format suitable for direct use by AudioBuffer r?padenot saving a copy.
Attachment #8653908 -
Flags: review?(padenot)
Assignee | ||
Comment 5•9 years ago
|
||
bug 1199559 write decodeAudioData buffer in a format suitable for direct use by AudioBuffer r?padenot saving a copy.
Attachment #8653909 -
Flags: review?(padenot)
Assignee | ||
Comment 6•9 years ago
|
||
bug 1199559 write audioprocess input buffer in a format suitable for direct use by AudioBuffer r?padenot saving copying. This also avoids graph thread allocations when input is null.
Attachment #8653910 -
Flags: review?(padenot)
Assignee | ||
Comment 7•9 years ago
|
||
bug 1199559 remove now unused SetRawChannelContents r?padenot
Attachment #8653911 -
Flags: review?(padenot)
Assignee | ||
Comment 8•9 years ago
|
||
bug 1199560 finish offline audio context processing even when allocation fails r?padenot ProcessBlock() needs to return aFinished = true at some point.
Attachment #8653912 -
Flags: review?(padenot)
Assignee | ||
Comment 9•9 years ago
|
||
bug 1199561 delay offline buffer allocation until non-null input is received r?padenot The avoids the allocation and copying altogether when the output buffer is silent.
Attachment #8653913 -
Flags: review?(padenot)
Assignee | ||
Comment 10•9 years ago
|
||
I see bug 1135941 is already filed. I'll leave the review requests for other bugs in this set in case it is easier to diff between the base and end of the set.
Comment 11•9 years ago
|
||
Comment on attachment 8653913 [details] MozReview Request: bug 1199561 delay offline buffer allocation until non-null input is received r?padenot https://reviewboard.mozilla.org/r/17569/#review15673
Attachment #8653913 -
Flags: review?(padenot) → review+
Comment 12•9 years ago
|
||
Comment on attachment 8653905 [details] MozReview Request: bug 1199559 permit writing to ThreadSharedFloatArrayBufferList when not shared r?padenot https://reviewboard.mozilla.org/r/17553/#review15675
Attachment #8653905 -
Flags: review?(padenot) → review+
Comment 13•9 years ago
|
||
Comment on attachment 8653906 [details] MozReview Request: bug 1199559 add a helper to fallibly allocate ThreadSharedFloatArrayBufferList with buffers r?padenot https://reviewboard.mozilla.org/r/17555/#review15677
Attachment #8653906 -
Flags: review?(padenot) → review+
Comment 14•9 years ago
|
||
Comment on attachment 8653907 [details] MozReview Request: bug 1199559 add a factory method to accept generated buffer contents in a format suitable for direct use r?padenot https://reviewboard.mozilla.org/r/17557/#review15679
Attachment #8653907 -
Flags: review?(padenot) → review+
Updated•9 years ago
|
Attachment #8653909 -
Flags: review?(padenot) → review+
Comment 15•9 years ago
|
||
Comment on attachment 8653909 [details] MozReview Request: bug 1199559 write decodeAudioData buffer in a format suitable for direct use by AudioBuffer r?padenot https://reviewboard.mozilla.org/r/17561/#review15683
Comment 16•9 years ago
|
||
Comment on attachment 8653910 [details] MozReview Request: bug 1199559 write audioprocess input buffer in a format suitable for direct use by AudioBuffer r?padenot https://reviewboard.mozilla.org/r/17563/#review15685
Attachment #8653910 -
Flags: review?(padenot) → review+
Updated•9 years ago
|
Attachment #8653911 -
Flags: review?(padenot) → review+
Comment 17•9 years ago
|
||
Comment on attachment 8653911 [details] MozReview Request: bug 1199559 remove now unused SetRawChannelContents r?padenot https://reviewboard.mozilla.org/r/17565/#review15687
Comment 18•9 years ago
|
||
Comment on attachment 8653912 [details] MozReview Request: bug 1199560 finish offline audio context processing even when allocation fails r?padenot https://reviewboard.mozilla.org/r/17567/#review15689
Attachment #8653912 -
Flags: review?(padenot) → review+
Comment 19•9 years ago
|
||
Comment on attachment 8653908 [details] MozReview Request: bug 1199559 write offline buffer in a format suitable for direct use by AudioBuffer r?padenot https://reviewboard.mozilla.org/r/17559/#review15681
Attachment #8653908 -
Flags: review?(padenot) → review+
Comment 20•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/11cd78f326d9 https://hg.mozilla.org/integration/mozilla-inbound/rev/4c981e0cb0fa https://hg.mozilla.org/integration/mozilla-inbound/rev/255b7fc96151 https://hg.mozilla.org/integration/mozilla-inbound/rev/5d78bbe7d5dc https://hg.mozilla.org/integration/mozilla-inbound/rev/e934843c48cf https://hg.mozilla.org/integration/mozilla-inbound/rev/c143ace1a0c7 https://hg.mozilla.org/integration/mozilla-inbound/rev/c08ff3257488
Comment 21•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11cd78f326d9 https://hg.mozilla.org/mozilla-central/rev/4c981e0cb0fa https://hg.mozilla.org/mozilla-central/rev/255b7fc96151 https://hg.mozilla.org/mozilla-central/rev/5d78bbe7d5dc https://hg.mozilla.org/mozilla-central/rev/e934843c48cf https://hg.mozilla.org/mozilla-central/rev/c143ace1a0c7 https://hg.mozilla.org/mozilla-central/rev/c08ff3257488
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Assignee | ||
Updated•9 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•