Closed
Bug 1134102
Opened 9 years ago
Closed 9 years ago
Move cubeb's stream reconfiguration to render thread
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: kinetik, Assigned: kinetik)
Details
Attachments
(1 file, 1 obsolete file)
9.60 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
Introduce a new event, have the notification client hold only the event handle, and make the render loop thread reconfigure the stream when the event is signaled. I haven't tested this at all yet, but it seems safer than doing a bunch of work on a thread we don't control (where the OnDefaultDeviceChanged callback runs). I haven't seen any documentation that says the existing design is dangerous, but reducing the number of threads involved in this process should make reasoning about the behaviour somewhat easier. Applies on top of the changes in bug 1134078. https://treeherder.mozilla.org/#/jobs?repo=try&revision=d0ddb81d4ef7
Attachment #8565812 -
Flags: feedback?(padenot)
Assignee | ||
Comment 1•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9278d7bc85e7
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8565812 -
Attachment is obsolete: true
Attachment #8565812 -
Flags: feedback?(padenot)
Attachment #8565909 -
Flags: review?(padenot)
Comment 3•9 years ago
|
||
Comment on attachment 8565909 [details] [diff] [review] bug1134102_v1.patch Review of attachment 8565909 [details] [diff] [review]: ----------------------------------------------------------------- I think this is better than my design, you're right.
Attachment #8565909 -
Flags: review?(padenot) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d3d919e4fdf4
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d3d919e4fdf4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•