[roll] Roll fuchsia [media][audio_core] Use FakeAudioClocks

This CL uses FakeAudioClocks across AudioCore to control time in
unittests and eliminate sleeps, which can cause test flakes.
Tests that were previously unable to run on debug builds due to slow
processing are now able to be run on debug builds and are included in
audio_core_unittests.

FakeClockManager handles creation of FakeAudioClocks, which are based on
a fake monotonic time housed in the FakeClockManager. When
FakeClockManager::AdvanceMonoTimeBy(zx::duration duration) is called, all
clocks created and managed by the FakeClockManager instance reflect the
updated time.

In addition, BaseRenderer is updated to use AudioClocks in place of raw
zx::clocks. This simplifies the code by putting all zx::clocks behind
AudioClocks across AudioCore, as well as fully enables FakeAudioClock
functionality.

Original-Fixed: 57377

Test: MULTIPLY: audio_core_unittests
Test: MULTIPLY: audio-core-api-tests
Test: fx test audio_testing_unittests

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/473873
Original-Revision: 4615fad2d5e5a6de15fd5d5dd75d827c4867612c
GitOrigin-RevId: eff274a1a8e5ea9c1b7bf77ef780414792786382
Change-Id: I92595caaa76eb5bac48e8636814567d06669ca56
1 file changed
tree: 4edc78e542013be7a46260357421b2f5199fbf08
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.