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

Issue 831250 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Enable rtanalytics to read audio input from Chrome audio service

Project Member Reported by weigua@chromium.org, Apr 10 2018

Issue description

Currently rtanlaytics is using ALSA to directly open audio device, which prevents Chrome process from using the same device simultaneously. Switching to use CrAS for audio capture can fix this pain point automatically.


 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/269e6c87f284d12c2084f3185c980f0a0c0f8dab

commit 269e6c87f284d12c2084f3185c980f0a0c0f8dab
Author: Wei Guan <weigua@chromium.org>
Date: Thu Apr 12 16:33:43 2018

Update the min environment version for rtanalytics-light to 3.0.

This is because changes to use the Chrome OS Audio Service (CrAS) are
not backwards compatible.

BUG=831250

Change-Id: If7eb2ff01224fc16c76574e53e29ff6eacc41ec0
Reviewed-on: https://chromium-review.googlesource.com/1004922
Commit-Queue: Wei Guan <weigua@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550236}
[modify] https://crrev.com/269e6c87f284d12c2084f3185c980f0a0c0f8dab/chrome/browser/component_updater/cros_component_installer.cc

Project Member

Comment 2 by bugdroid1@chromium.org, Apr 12 2018

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/b5d17629393d3ba0327d508120b9fb0325822dff

commit b5d17629393d3ba0327d508120b9fb0325822dff
Author: Wei Guan <weigua@chromium.org>
Date: Fri Apr 13 08:43:22 2018

Add rtanalytics to cras group.

BUG=chromium:831250
TEST=local build
CQ-DEPEND=CL:1007982

Change-Id: Iec66fced07e345d21c51639a2f1638e2052826d7
Reviewed-on: https://chromium-review.googlesource.com/1008042
Commit-Ready: Wei Guan <weigua@chromium.org>
Tested-by: Wei Guan <weigua@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>

[modify] https://crrev.com/b5d17629393d3ba0327d508120b9fb0325822dff/cros/test/usergroup_baseline.py

Project Member

Comment 4 by bugdroid1@chromium.org, Apr 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/eclass-overlay/+/590ac1932044a530115017ceae64cb57ceadbc69

commit 590ac1932044a530115017ceae64cb57ceadbc69
Author: Wei Guan <weigua@chromium.org>
Date: Fri Apr 13 08:43:22 2018

Add rtanalytics user to cras group

The rtanalytics process (running as the rtanalytics user) needs to talk to cras for audio capture.

BUG=chromium:831250
TEST=local build
CQ-DEPEND=CL:1008042

Change-Id: I6478ea46cd64159fb591f646f4a0a3c698dd51c7
Reviewed-on: https://chromium-review.googlesource.com/1007982
Commit-Ready: Wei Guan <weigua@chromium.org>
Tested-by: Wei Guan <weigua@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>

[modify] https://crrev.com/590ac1932044a530115017ceae64cb57ceadbc69/profiles/base/accounts/group/cras

Project Member

Comment 5 by bugdroid1@chromium.org, Apr 13 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fb44f305eebf8d37778a8e40da204d2137530d10

commit fb44f305eebf8d37778a8e40da204d2137530d10
Author: chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Date: Fri Apr 13 11:48:34 2018

Roll src/third_party/chromite/ 70bb7daa4..b5d176293 (1 commit)

https://chromium.googlesource.com/chromiumos/chromite.git/+log/70bb7daa4183..b5d17629393d

$ git log 70bb7daa4..b5d176293 --date=short --no-merges --format='%ad %ae %s'
2018-04-11 weigua Add rtanalytics to cras group.

Created with:
  roll-dep src/third_party/chromite
BUG=chromium:831250


The AutoRoll server is located here: https://chromite-chromium-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.


TBR=chrome-os-gardeners@chromium.org

Change-Id: Ib9c500c47360820e455d31ad23024bd67808710e
Reviewed-on: https://chromium-review.googlesource.com/1011665
Reviewed-by: Chromite Chromium Autoroll <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Commit-Queue: Chromite Chromium Autoroll <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#550594}
[modify] https://crrev.com/fb44f305eebf8d37778a8e40da204d2137530d10/DEPS

Project Member

Comment 6 by bugdroid1@chromium.org, Apr 17 2018

Labels: merge-merged-testbranch
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/269e6c87f284d12c2084f3185c980f0a0c0f8dab

commit 269e6c87f284d12c2084f3185c980f0a0c0f8dab
Author: Wei Guan <weigua@chromium.org>
Date: Thu Apr 12 16:33:43 2018

Update the min environment version for rtanalytics-light to 3.0.

This is because changes to use the Chrome OS Audio Service (CrAS) are
not backwards compatible.

BUG=831250

Change-Id: If7eb2ff01224fc16c76574e53e29ff6eacc41ec0
Reviewed-on: https://chromium-review.googlesource.com/1004922
Commit-Queue: Wei Guan <weigua@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550236}
[modify] https://crrev.com/269e6c87f284d12c2084f3185c980f0a0c0f8dab/chrome/browser/component_updater/cros_component_installer.cc

Project Member

Comment 7 by bugdroid1@chromium.org, Apr 17 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fb44f305eebf8d37778a8e40da204d2137530d10

commit fb44f305eebf8d37778a8e40da204d2137530d10
Author: chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Date: Fri Apr 13 11:48:34 2018

Roll src/third_party/chromite/ 70bb7daa4..b5d176293 (1 commit)

https://chromium.googlesource.com/chromiumos/chromite.git/+log/70bb7daa4183..b5d17629393d

$ git log 70bb7daa4..b5d176293 --date=short --no-merges --format='%ad %ae %s'
2018-04-11 weigua Add rtanalytics to cras group.

Created with:
  roll-dep src/third_party/chromite
BUG=chromium:831250


The AutoRoll server is located here: https://chromite-chromium-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.


TBR=chrome-os-gardeners@chromium.org

Change-Id: Ib9c500c47360820e455d31ad23024bd67808710e
Reviewed-on: https://chromium-review.googlesource.com/1011665
Reviewed-by: Chromite Chromium Autoroll <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Commit-Queue: Chromite Chromium Autoroll <chromite-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#550594}
[modify] https://crrev.com/fb44f305eebf8d37778a8e40da204d2137530d10/DEPS

Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment