[audio] ASAN fix in audio_core

This CL addresses MTWN-233, a use-after-free bug found by ASAN when
running audio_fidl_tests. The fix is to fuchsia.media.AudioCapturer,
specifically DiscardAllPackets. Additionally, this CL adjusts the
wait intervals on three test cases in audio_fidl_tests to match their
circumstances. Finally, this CL adds a new AudioCapturer-related
test case related to BindGainControl, where another ASAN-related bug
was sometimes seen.

MTWN-233 #done

Test: build, CQ, overnight looped audio_fidl_tests on ASAN builds of
both architectures

Change-Id: I313d2f5d700e691dcc3930c1dc07973c831e50ab
5 files changed
tree: b9d6835f6e07ded24a3f31c87998acbdd85b3742
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. AUTHORS
  18. CODE_OF_CONDUCT.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. PATENTS
  23. README.md
  24. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.