rtc_base: fix -Wformat-nonliteral warning

This fixes  -Wformat-nonliteral when building with glibc 2.27

BUG=chromium:894859
TEST=emerge-samus webrtc-apm with glibc 2.27

Change-Id: I9db84c2146b2bb366e07d9d54546d91bf3a6713d
Reviewed-on: https://chromium-review.googlesource.com/1277980
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed
tree: 1edd117a1becc64dcfd75efd1f7978da78b5420e
  1. Makefile
  2. README.md
  3. absl/
  4. api/
  5. audio/
  6. common.mk
  7. common_audio/
  8. common_types.h
  9. libwebrtc_apm.pc.template
  10. modules/
  11. pc_utils.mk
  12. rtc_base/
  13. script/
  14. system_wrappers/
  15. third_party/
  16. typedefs.h
  17. webrtc_apm.cc
  18. 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