Closed
Bug 1197043
Opened 9 years ago
Closed 9 years ago
use flags to distinguish between AudioNodeStreams wanting external streams and main thread events
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
Attachments
(5 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 |
This is mostly preparation work for bug 1196108, but there are some small advantages with just these changes. MediaStreamAudioDestinationNode does not need any main thread events because mDOMStream provides GetCurrentTime to consumers. MediaRecoder also does not use main thread current time.
Assignee | ||
Comment 1•9 years ago
|
||
bug 1197043 remove unnecessary aSampleRate parameter for AudioNodeStream creation r?padenot
Attachment #8650812 -
Flags: review?(padenot)
Assignee | ||
Comment 2•9 years ago
|
||
bug 1197043 rename Add/RemoveStream to Add/RemoveStreamGraphThread r?padenot
Attachment #8650813 -
Flags: review?(padenot)
Assignee | ||
Comment 3•9 years ago
|
||
bug 1197043 introduce MediaStreamGraph::AddStream() r?padenot
Attachment #8650814 -
Flags: review?(padenot)
Assignee | ||
Comment 4•9 years ago
|
||
bug 1197043 move AudioNodeStream creation to stream class r?padenot
Attachment #8650815 -
Flags: review?(padenot)
Assignee | ||
Comment 5•9 years ago
|
||
bug 1197043 use flags to distinguish between external streams and events r?padenot MediaStreamAudioDestinationNode does not need any main thread events because mDOMStream provides GetCurrentTime to consumers. MediaRecoder also does not use main thread current time.
Attachment #8650816 -
Flags: review?(padenot)
Comment 6•9 years ago
|
||
Comment on attachment 8650812 [details] MozReview Request: bug 1197043 remove unnecessary aSampleRate parameter for AudioNodeStream creation r?padenot https://reviewboard.mozilla.org/r/16701/#review15083 Ship It!
Attachment #8650812 -
Flags: review?(padenot) → review+
Comment 7•9 years ago
|
||
https://reviewboard.mozilla.org/r/16701/#review15087 Ship It!
Comment 8•9 years ago
|
||
Comment on attachment 8650814 [details] MozReview Request: bug 1197043 introduce MediaStreamGraph::AddStream() r?padenot https://reviewboard.mozilla.org/r/16705/#review15089 Ship It!
Attachment #8650814 -
Flags: review?(padenot) → review+
Comment 9•9 years ago
|
||
Comment on attachment 8650813 [details] MozReview Request: bug 1197043 rename Add/RemoveStream to Add/RemoveStreamGraphThread r?padenot https://reviewboard.mozilla.org/r/16703/#review15085 Ship It!
Attachment #8650813 -
Flags: review?(padenot) → review+
Updated•9 years ago
|
Attachment #8650815 -
Flags: review?(padenot) → review+
Comment 10•9 years ago
|
||
Comment on attachment 8650815 [details] MozReview Request: bug 1197043 move AudioNodeStream creation to stream class r?padenot https://reviewboard.mozilla.org/r/16707/#review15091 Ship It!
Updated•9 years ago
|
Attachment #8650816 -
Flags: review?(padenot) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8650816 [details] MozReview Request: bug 1197043 use flags to distinguish between external streams and events r?padenot https://reviewboard.mozilla.org/r/16709/#review15081 Ship It! ::: dom/media/webaudio/AudioNodeStream.h:54 (Diff revision 1) > - // to an nsAudioStream for playback. > + // to an nsAudioStream for playback. We need to update this comment. We don't use AudioStream to output audio anymore since last year's refactoring (we're callback driven, now).
Assignee | ||
Comment 12•9 years ago
|
||
(In reply to Paul Adenot (:padenot) from comment #11) > > - // to an nsAudioStream for playback. > > + // to an nsAudioStream for playback. > > We need to update this comment. We don't use AudioStream to output audio > anymore since last year's refactoring (we're callback driven, now). updated as: "to other ProcessedMediaStreams or hardware audio output."
Comment 13•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a41e0971de4d https://hg.mozilla.org/integration/mozilla-inbound/rev/9fb3162d1662 https://hg.mozilla.org/integration/mozilla-inbound/rev/bf6521da6a03 https://hg.mozilla.org/integration/mozilla-inbound/rev/6f427969796d https://hg.mozilla.org/integration/mozilla-inbound/rev/76997b5a67b8
Assignee | ||
Updated•9 years ago
|
Flags: in-testsuite-
Comment 14•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a41e0971de4d https://hg.mozilla.org/mozilla-central/rev/9fb3162d1662 https://hg.mozilla.org/mozilla-central/rev/bf6521da6a03 https://hg.mozilla.org/mozilla-central/rev/6f427969796d https://hg.mozilla.org/mozilla-central/rev/76997b5a67b8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•