try-supported-channel-layouts flag unintended 10 year old bug that still haunts us today
Reported by
kyp...@gmail.com,
Oct 29
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3594.0 Safari/537.36 Example URL: N/A Steps to reproduce the problem: 1. Using a a Logitech USB audio headset while having #try-supported-channel-layouts flag ENABLED causes a loud corrupted sound output distortion on USB headphones with stereo source in Chrome. 2. Listen to an upmixed stereo from Chrome with #try-supported-channel-layouts flag ENABLED using Sound Card. 3. Switch Windows playback source from "Sound card" to "Logitech USB headset" 4. Now all sound from USB Headphones comes out as loud artifacts distortion in headphones. (its just hiss and constant distortion) Disabling #try-supported-channel-layouts fixes it. What is the expected behavior? 1. Listen to STEREO source in Chrome using Sound Card surround upmix technology with #try-supported-channel-layouts ENABLED 2. Switch your Windows playback output to USB Headphones headset. 3. Sound works on USB headphones without #try-supported-channel-layouts disabled and without any distortion. Need ability for Chrome to send STEREO sound to USB headphones without constantly toggling #try-supported-channel-layouts ON and OFF really annoying when you have a lot of tabs open in chrome (over 50 for me) What went wrong? Chrome needs some sort of way to ignore the #try-supported-channel-layouts ENABLED flag when I switch to my USB headphones because it produces nothing but hiss and distortion and requires me to change the flag to DISABLED and restart Chrome every single time. If you could please see if there is any way for it to either recognize that I switched my Playback output in Windows and change the way it sends audio. Why this happens: right now Chrome checks for Windows speaker configuration and if you have a 7.1 system for example it will send STEREO source using a fake 7.1 channels with 5 channels muted and only 2.1 actually producing sound. Works great if the source is 7.1 but if you want the STEREO sound to come out from ALL your speakers even if the source is STEREO you have to enable hardware or software stereo upmix technology in your drivers. The problem is Chrome fakes the 7.1 surround (sends 7.1 but mutes 5 channels) so the Sound Card thinks its already getting 7.1 source and does not upmix the STEREO source to 7.1. If Chrome just sent STEREO as STEREO always and let the Sound Card decide what to do with it this would never be a problem. TLDR: Either make chrome always send stereo source as stereo to my sound card and headphones or make #try-supported-channel-layouts ENABLED not affect my USB headphones in any way. Maybe let us select #try-supported-channel-layouts ENABLED for each sound device? -------------------------- Behavior right now: Chrome stereo source with #try-supported-channel-layouts DISABLED > sent to Sound Card as fake 7.1 > Sound Card thinks its real 7.1 but only 2.1 speakers actually produce sound rest are muted by Chrome Chrome stereo source with #try-supported-channel-layouts ENABLED > Sound Card as stereo > Sound Card plays as 7.1 and all speakers produce sound Chrome stereo source with #try-supported-channel-layouts ENABLED > USB Headset > SOUND COMES OUT AS DISTORTED HISS --------------------------- Ideal behavior: Chrome stereo source with #try-supported-channel-layouts ENABLED > Sound Card as Stereo > Sound card upmixes to 7.1 > sound comes out from all speakers no distortion Chrome stereo source #try-supported-channel-layouts ENABLED > switch to USB Headphones > normal playback from headphones. Did this work before? No Is it a problem with Flash or HTML5? Both Does this work in other browsers? Yes Chrome version: 72.0.3594.0 Channel: canary OS Version: 10.0 Flash Version: n/a This bug is related to this: https://bugs.chromium.org/p/chromium/issues/detail?id=453812 and this: https://bugs.chromium.org/p/chromium/issues/detail?id=479057 I have a multi channel speaker system that upmixes stereo source from Chrome to all speakers which requires #try-supported-channel-layouts flag to be ENABLED for few years now otherwise the sound only comes out from 2.1 channel.
,
Oct 29
Eh, I don't know how to fix this. Try supported layouts was the best I could figure out. +henrika, olka,maxmorin in case he knows more now. WASAPI won't let us open the device at less channels. Presumably there is a way since it seems to work in Firefox, Edge, but I've never been able to figure out how they're doing it.
,
Oct 29
maybe there is some way for Chrome to ignore #try-supported-channel-layouts ENABLED flag when you switch your playback device in Windows?
,
Oct 30
Don't know the background work well enough to make any detailed comments at this stage. Let me do some research and come back with comments/questions.
,
Nov 14
Gentle ping.. @Henrika: Could you please provide update on the issue.
,
Nov 21
The issue needs to be tested using a USB audio headset. As ET-team doesn't have the above devices to test the issue. Hence, adding label TE-Hardware-Dependency. Thanks...!
,
Dec 18
,
Dec 18
No cycles to work on this issue now or in a near future. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by krajshree@chromium.org
, Oct 29