commit | 9d9f47fd86779cd6045e704c156dd4f1fd7d98a9 | [log] [tgz] |
---|---|---|
author | Andres Oportus <andresoportus@google.com> | Sat Nov 21 23:15:58 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Sat Nov 21 23:15:58 2020 +0000 |
tree | d3d616b89aa886bd159593b88e4de50acbfc3725 | |
parent | 5bae8a276066475b7efb22523b22c4491d2ffe8a [diff] |
[audio][aml-g12-pdm] Reduce ring buffer size This is pretty much the same as http://fxrev.dev/449830 but for PDM input. Instead of precalculating the ring buffer size according to the maximum possible parameters to get 1 second of audio, calculate the size based on the required format and the min_frames parameter. Bug: 48587 Test: audio_driver_tests Test: aml-g12-pdm-test Change-Id: I97a6f86fa9a861ea809dcbd9955ced41cf243015 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/449999 Reviewed-by: Braden Kell <bradenkell@google.com> Testability-Review: Braden Kell <bradenkell@google.com> Commit-Queue: Andres Oportus <andresoportus@google.com>
Pink + Purple == Fuchsia (a new operating system)
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.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.