[mixer_service] Add SincSampler

Added more tracing to internal Sampler functions.
Fixed minor bug where the cache length was calculated by an additional
full frame instead of a single fractional subframe in order to include
the center position on top of the filter widths.

This change results in small performance gains in SincSampler by up to
~5% in all devices, whereas ~1 microsecond performance regression in the
mixer creation time, which is likely caused by the additional shim layer
that is introduced to create a `SincSampler` internally inside the old
`Mixer` creation code of audio_core (expected to be temporary).

Bug: 87651

Multiply: audio-libprocessing-unittests
Multiply: audio_core_unittests
Multiply: audio_mixer_unittests
Multiply: audio-core-api-pipeline-tests
Multiply: audio-core-fidelity-test
Multiply: audio_fidelity_tests
Multiply: audio_core_fidelity_tests

Change-Id: Id268065b58c2f1ae9b60bd4621ee1aa9081cc6a5
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/695491
Commit-Queue: Alper Gungormusler <alperg@google.com>
Reviewed-by: Tom Bergan <tombergan@google.com>
11 files changed
tree: e84ef9ce2c12802913cc459a78c95e246866c501
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. pyrightconfig.json
  30. README.md
  31. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.