commit | 35b2af3135afd0ced3e3d3eeaae0d37461397820 | [log] [tgz] |
---|---|---|
author | Martin Puryear <mpuryear@google.com> | Sat Aug 17 07:00:44 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat Aug 17 07:00:44 2019 +0000 |
tree | 8fd9d0109f45c054224805196721f5c5dc271d9f | |
parent | 3099ff8bc6409ea68648cddaa4690491ddb38943 [diff] |
[audio_core] Add capture underrun detection (and logging) To increase diagnosability, this CL adds underrun-detection logging to the audio capturer. It also clarifies a number of related variables and comments. Logging traffic may increase (if the system is failing to perform as required), but no other behavior change. Most importantly, in cases where our initial capture ring-buffer position is calculated to be negative (because of offsets due to hardware FIFO depth), correctly wrap this around instead of ASSERT. Test: change in logging behavior and DEBUG error checking Bug: 8587 Bug: 13693 Bug: 34866 Change-Id: Ic4eb9f506e52562376910c67670ebc241493ce76
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.
See Getting Started.
See fuchsia.dev.