New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 772490 link

Starred by 6 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Blocked on:
issue 832666



Sign in to add a comment

Muted tab still plays audio

Reported by hakerh403@gmail.com, Oct 6 2017

Issue description

UserAgent: ’\_(ツ)_/‘

Example URL:
All urls

Steps to reproduce the problem:
1. Mute the tab
2. Open a webpage (in that tab) which plays sound (for example a youtube video)
3. Press CTRL+W (to close the tab)
4. Notice that sound is played for about ~100 milliseconds

What is the expected behavior?
No sound should be played at all.

What went wrong?
I don't know why, but sound is played for a very short time before the tab is closed. But, a muted tab should not play sound at all. Probably Chrome is unmuting tab before closing it, I don't have other explanation.

Did this work before? No 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 6.3
Flash Version: Flash? What is it? Is it some cake?

Contents of chrome://gpu: 
"Please open a new tab on URL chrome://gpu and paste that text here." ---> No need for it, because the problem is not related just to my system, it is related to Chrome. I tested it on Windows and on Linux and on different architectures and the issue is still present.

Any other comments?
No.
 
Cc: m...@chromium.org mlamouri@chromium.org

Comment 2 by m...@chromium.org, Oct 6 2017

Owner: m...@chromium.org
Status: Assigned (was: Unconfirmed)
I'll take this one. It'll likely be resolved with my upcoming work on the audio service.

Root cause sounds like a race between AudioMirroringManager and the audio output stream being shut down from the renderer. AudioMirroringManager may be getting the tab close notification 100 ms before audio output stream is closed over in AudioRendererHost.

Comment 3 by m...@chromium.org, Oct 6 2017

 Issue 574265  has been merged into this issue.
Cc: steimel@chromium.org

Comment 5 by m...@chromium.org, Mar 6 2018

Status: Started (was: Assigned)

Comment 6 by m...@chromium.org, Mar 6 2018

I'm working on rewriting some of the loopback and muting infrastructure to support the new AudioService effort. Should be obvious to improve the design to prevent this from happening. (So, I'm not trying to fix the bug, but replace the impl with one that works.)

Comment 7 by m...@chromium.org, Mar 6 2018

Cc: liber...@chromium.org vamshi.k...@techmahindra.com
 Issue 810010  has been merged into this issue.

Comment 8 by m...@chromium.org, May 19 2018

Blockedon: 832666
This will be fixed soon, pending launch of the new Audio Service (bug 832666).
Status: Fixed (was: Started)
No more action to take on this bug. It will be completely fixed when the Audio Service is fully rolled-out (which is already the case on some platforms).

Sign in to add a comment