cros-pulse-config: Deploy configs and remove oneshot service

The CL uprev cros-pulse-config package to v0.2.0 with the following
changes:
- Remove cros-pulse-config.service oneshot service
  The oneshot approach is flaky and can be replaced by commands in
  pulseaudio configuration files.
- Deploy a customized default.pa configuration
  With minimal pulseaudio setup and it loads alsa output / input device.
- [b/158172260] Deploy a customized daemon.conf with lower latency settings
  Reduce latency from default buffer size = 3 * 33 ms (~100 ms) to
  4 * 20ms (80 ms).
- Divert conflict configurations /etc/pulse/* to *.distrib

We test multiple device loading scenarios in PulseAudioSanity in
CL:2230743. Some test cases will fail v0.1.3 but v0.2.0 can pass them.

BUG=b:155857693
BUG=b:158062611
BUG=chromium:1068945
BUG=b:158172260

TEST=dpkg --install cros-pulse-config_0.2.0_all.deb && \
     dpkg --remove cros-pulse-config
TEST=crostini.AudioSanity.*
TEST=crostini.PulseAudioSanity.*
TEST=Measure glitches by
     - Run playback in youtube in browser in Crostini
     - Multi-tasking on host Chrome

Change-Id: I77e8670fbf0ec9bffcb2712ac415b6fbe3506b43
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/2230391
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Tested-by: Chih-Yang Hsia <paulhsia@chromium.org>
Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org>
7 files changed
tree: a69f1be3bc4768c1a7f16151ed8562abe3da7cdb
  1. cros-adapta/
  2. cros-apt-config/
  3. cros-debs/
  4. cros-garcon/
  5. cros-gpu-alpha/
  6. cros-gpu-buster/
  7. cros-gpu-stretch/
  8. cros-guest-tools/
  9. cros-host-fonts/
  10. cros-notificationd/
  11. cros-pulse-config/
  12. cros-sftp/
  13. cros-sommelier/
  14. cros-sommelier-config/
  15. cros-sudo-config/
  16. cros-systemd-overrides/
  17. cros-tast-tests/
  18. cros-ui-config/
  19. cros-wayland/
  20. docs/
  21. kokoro/
  22. lxd/
  23. mesa/
  24. scripts/
  25. termina/
  26. .gitignore
  27. LICENSE
  28. OWNERS
  29. PRESUBMIT.cfg
  30. README.md
  31. WORKSPACE
README.md

cros-container-guest-tools

Overview

These are the guest packages for setting up a container to integrate with Chrome OS. This includes build scripts that are run in Google's internal continuous integration service.

Building

The guest packages can be built with Bazel.

bazel build //cros-debs:debs --host_force_python=py2

Releasing

promote\_apt.sh MILESTONE and promote\_container.sh MILESTONE in scripts are used to promote containers from staging to live. NOTE: Whatever is the latest in staging is what gets promoted to live so make sure it's what was tested.