Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OboeTester: measure latency with varying buffer sizes to detect MMAP errors #2107

Merged
merged 5 commits into from
Oct 10, 2024

Conversation

philburk
Copy link
Collaborator

@philburk philburk commented Oct 5, 2024

This can be used to detect errors in the DSP MMAP position timestamps
used by the AAudio IsochronousClockModel.

If the DSP position is off then it can cause a discontinuity in round-trip latency as a function of buffer size.
So we change the buffer size and look for the discontinuity.

@philburk philburk requested a review from robertwu1 October 8, 2024 00:02
@philburk philburk merged commit 1868d6c into main Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants