Preparation for Linearize AudioContextOperation resolution
Categories
(Core :: Audio/Video: MediaStreamGraph, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(6 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Some clean-up to prepare for fixing bug 1285290.
Assignee | ||
Comment 1•4 years ago
|
||
Apparently this pref is already set when the tests are run on CI,
but it is not being set when running a single test or subdir.
Assignee | ||
Comment 2•4 years ago
|
||
Tracks remove themselves from the graph after DestroyImpl() and so should not
be added again after this.
These methods are now invoked only on the MediaTrack removing the possibility
of calling the wrong method.
Depends on D76797
Assignee | ||
Comment 3•4 years ago
|
||
This will permit passing an AudioContextOperationControlMessage* to other
methods.
Depends on D76798
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D76799
Assignee | ||
Comment 5•4 years ago
|
||
There is a small logic change here when
!audioTrackPresent && audioCallbackDriver && !IsStarted() &&
graphOutputChannelCount != audioCallbackDriver->OutputChannelCount()
Now, no driver change is scheduled in that situation.
Depends on D76802
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D76803
Assignee | ||
Comment 7•4 years ago
|
||
On the graph thread, mLifecycleState is known to be LIFECYCLE_RUNNING.
OpenAudioInputImpl(), CloseAudioInputImpl(), AddAudioOutputImpl() are called
only from ControlMessage::Run(), not RunDuringShutdown().
These conditions were first added in
https://hg.mozilla.org/mozilla-central/rev/dcd375e2750d425af210fee36962219a97a334fd#l3.12
but I don't know why.
Comment 8•4 years ago
|
||
Comment on attachment 9151998 [details]
Bug 1285290 move code to choose the next GraphDriver to CheckDriver() r?padenot
Revision D76803 was moved to bug 1285290. Setting attachment 9151998 [details] to obsolete.
Comment 10•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b14e6ad106a5
https://hg.mozilla.org/mozilla-central/rev/a5931e2c9a13
https://hg.mozilla.org/mozilla-central/rev/c17adfdc55cd
https://hg.mozilla.org/mozilla-central/rev/7bae1eadb123
https://hg.mozilla.org/mozilla-central/rev/806573d7d69a
https://hg.mozilla.org/mozilla-central/rev/a1dd9afbfdf5
Description
•