cras-config: Fix a bug in parsing fixed digital gain

BUG=b:127952347
TEST=Manual test on Nocturne

Change-Id: I500464011104c1dbd0b7f0578713877793c4fe5d
Reviewed-on: https://chromium-review.googlesource.com/1512192
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Tested-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
1 file changed
tree: 2e1c6f51c69a843b272954ebdffdf44762a1ebdd
  1. Makefile
  2. README.md
  3. absl/
  4. api/
  5. audio/
  6. common.mk
  7. common_audio/
  8. common_types.h
  9. cras-config/
  10. libwebrtc_apm.pc.template
  11. modules/
  12. pc_utils.mk
  13. rtc_base/
  14. script/
  15. system_wrappers/
  16. third_party/
  17. typedefs.h
  18. webrtc_apm.cc
  19. webrtc_apm.h
README.md

WebRTC APM

APM is the audio processing module of WebRTC project in charge of effects like echo cancellation, noise suppression, etc. The purpose of this project is to build a standalone library for Chrome OS system side audio processing.

Files content

  • scripts to copy over folders and files from upstream WebRTC project for APM and its dependencies.
  • Copied files from upstream WebRTC project. For example: common_audio, modules, rtc_base and system_wrappers.
  • webrtc_apm.cc/h C wrappers to access APM functions.
  • common-mk based makefiles to build shared library libwebrtc_apm.so

Update

To update this package to latest upstream WebRC:

  • Run ./script/sync-apm.sh path/to/webrtc-checkout/src .
  • emerge webrtc-apm to see if anything breaks.
  • If emerge success, then we're good.
  • Otherwise look into the emerge failure, and then possibly:
    • Update sync-apm.sh to copy more files if upstream directory structure changes.
    • Update makefiles if upstream build files has changed.
    • Update webrtc-apm ebuild file if dependencies changed.
  • Create a new commit