Closed
Bug 1195051
Opened 10 years ago
Closed 10 years ago
Creating an AudioContext shows the tab sound indicator even without anything playing
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla43
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(3 files)
2.08 KB,
patch
|
padenot
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
4.96 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
4.60 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
Bug 1041594 made us unmute the input as soon as the audio channel agent is created, which happens when an AudioContext gets created. As a result, the tab audio indicator shows up even without anything playing.
A better way to fix that race condition is to create the audio channel agent in InputMuted if it doesn't exist yet.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8648436 -
Flags: review?(padenot)
Assignee | ||
Updated•10 years ago
|
Attachment #8648437 -
Flags: review?(padenot)
Assignee | ||
Updated•10 years ago
|
Attachment #8648438 -
Flags: review?(padenot)
Updated•10 years ago
|
Attachment #8648436 -
Flags: review?(padenot) → review+
Updated•10 years ago
|
Attachment #8648437 -
Flags: review?(padenot) → review+
Updated•10 years ago
|
Attachment #8648438 -
Flags: review?(padenot) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8648436 [details] [diff] [review]
Part 1: Do not unmute the destination node as soon as the AudioContext is constructed; r=padenot
(Requesting approval for the whole patch series)
Approval Request Comment
[Feature/regressing bug #]: Tab audio indicators
[User impact if declined]: On websites such as <http://icelandairwaves.is/> where an AudioContext is created but no audio is played back, we currently show the tab audio indicator icon. These patches fix that bug.
[Describe test coverage new/current, TreeHerder]: Has tests.
[Risks and why]: Low risk, and has a test.
[String/UUID change made/needed]: None.
Attachment #8648436 -
Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/4f1b7f9d6f23
https://hg.mozilla.org/mozilla-central/rev/4abc258b07a7
https://hg.mozilla.org/mozilla-central/rev/5a66bd178c4c
https://hg.mozilla.org/mozilla-central/rev/36895151defd
Assignee: nobody → ehsan
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8648436 [details] [diff] [review]
Part 1: Do not unmute the destination node as soon as the AudioContext is constructed; r=padenot
This needs to wait while we figure out bug 1195805.
Attachment #8648436 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8648436 [details] [diff] [review]
Part 1: Do not unmute the destination node as soon as the AudioContext is constructed; r=padenot
See comment 6. Bug 1195805 ended up being a gaia bug.
Attachment #8648436 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
status-firefox42:
--- → affected
Comment 11•10 years ago
|
||
Comment on attachment 8648436 [details] [diff] [review]
Part 1: Do not unmute the destination node as soon as the AudioContext is constructed; r=padenot
Polish of the feature and avoid confusion, taking it.
Attachment #8648436 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•