commit | fcb726e534b664b75bef0ec4f7fd9be401eb3ce6 | [log] [tgz] |
---|---|---|
author | Wojciech Dzierżanowski <wdzierzanowski@opera.com> | Mon Aug 26 21:48:36 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 26 21:48:36 2024 |
tree | 0f9857892e5ba8388c454ff17ba93774946f636b | |
parent | d8289e63616b8754c298758c2ea4ea86f4837a8f [diff] |
Enforce alignment of unpooled AudioBuffer memory The AudioBuffer constructor is documented as allocating an "aligned contiguous buffer", but this is no longer the case when a buffer pool is not used since c615e09bad635f553f9ca97a60ebf2c65995681f. Given that there are non-test clients of unpooled AudioBuffer objects, let's restore the alignment enforcement. This fixes AudioBufferTest.WrapOrCopyToAudioBus in Win32 builds. Fixed: 361525283 Change-Id: I7993dd53b9d314857e1dee2c9a2d79aa77871a1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5806963 Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Cr-Commit-Position: refs/heads/main@{#1346985}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.