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

Issue 776580 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Feature


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

CRAS system gain doesn't play well with multiple active inputs.

Project Member Reported by dgreid@chromium.org, Oct 19 2017

Issue description

Record from default mic
Add pinned stream to a different device (like an HDMI capture)
System volume is changed affecting the default mic.

Pinned streams should only be affected by the node volume.
 

Comment 1 by dgreid@chromium.org, Oct 19 2017

Cc: tovep@chromium.org
Hi Dylan, could please you explain a little bit more ?
If I understand correctly, the use scenario is:

1. Record from default mic.
2. Add a pinned stream to record from USB (an HDMI capture )
3. See system gain changed and it affects default mic recording.

 >>> Pinned streams should only be affected by the node volume.
I don't understand this.
Do you mean the expected behavior is that the gain limit of pinned device should not affect default mic ?
But there might be other normal stream sharing the same device with pinned stream.

I agree that we don't have a clear gain behavior with multiple active inputs.
We can not determine a single system gain limit for two different devices.

Comment 3 by dgreid@chromium.org, Oct 20 2017

Yes, if the pinned stream and the normal streams aren't sharing a device then the two shouldn't affect each others volumes. It's probably the normal use case. I doubt there is a lot of usage streams capturing from multiple devices at the same time. Link did for keyboard mic, but that's a dead feature at this point anyways.
The goal is to allow different streams on different devices to have independent gains.

Comment 4 by tovep@chromium.org, Oct 24 2017

Cc: brandstrom@google.com

Comment 5 by tovep@chromium.org, Nov 7 2017

Labels: M-65
Owner: tovep@chromium.org
Status: Assigned (was: Available)
dgreig@, I could imagine usages for several simultaneous input streams. Some kind of mixer (e.g. communication hub, live music) or sound test equipment. However, that I agree that's not what this bug is about.
Cc: -brandstrom@google.com brandstrom@chromium.org

Comment 8 by tovep@chromium.org, Nov 15 2017

Labels: hotrod-platform-triaged

Comment 9 by tovep@chromium.org, Nov 29 2017

Labels: Proj-Hotrod

Comment 10 by tovep@chromium.org, Dec 21 2017

Labels: hotrod-platform-active
Status: Started (was: Assigned)

Comment 11 by tovep@chromium.org, Jan 19 2018

I have experimented a bit, and the change to the capture gain happens already when a new mic is connected to the ChromeOS device, so I am not sure if we can fix this by looking at pinned streams.  

It seems a bit inconsistent though.  Sometimes it changes and sometimes it doesn't.

Even weirder, the gain is often adjusted when a peripheral is disconnected and set to a value that is suitable for that peripheral even if it is no longer connected.

E.g. recording from a mic with the max capture gain for the mic (+6db), then unplugging the hdmi capture unit (with no active stream) and the capture gain changes to 0db, even if the mic is still marked as default.
Status: Assigned (was: Started)
Labels: thor-hdmi-local
Labels: -hotrod-platform-triaged hotrod-platform-backlog
Labels: -hotrod-platform-active

Comment 16 by tovep@chromium.org, May 17 2018

Labels: -hotrod-platform-backlog Hotrod-Platform-Longterm
Owner: ----

Sign in to add a comment