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

Merge main (1.9.3) into 1.9 stable #2127

Merged
merged 57 commits into from
Dec 17, 2024
Merged

Merge main (1.9.3) into 1.9 stable #2127

merged 57 commits into from
Dec 17, 2024

Conversation

robertwu1
Copy link
Collaborator

No description provided.

robertwu1 and others added 30 commits June 25, 2024 11:44
This prevents underruns when doing sample rate conversion.

Fixes #2046
OboeTester: save a WAVE file when DataPaths test fails
Save specific channels that we are analyzing.

This will help with debugging.

Fixes #2044
This was an attempt to reproduce b/348615156
b/348615156 | P2 | [Oboe/OpenSLES] Deadlock is caused when close function is called immediately after stream playback.
Because the fingerprint may no longer have a timestamp!
b/348672935 | P2 | ro.build.fingerprint has 00000000.000000 instead of the date
This triggers a race condition and a deadlock.

To trigger #2059
Go up by a minor third or a perfect fourth just intoned interval.

Fixes #2066
Temporarily unlock() and lock() when Destroy()ing a stream
because that joins the callback thread.

Fixes a rare ANR.

Fixes #2059
This will prevent glitches caused by the number of input and
output frames being different in the full duplex callback.

Fixes #2068
Try to reproduce the bug in #2059.

Use OBOE_SUPPRESS_LOG_SPAM to reduce logs during tests
Update as each test is run.

Partial fix for #2050
If a device is unplugged then there is no point in running any remaining tests.
philburk and others added 25 commits August 6, 2024 17:42
Do not test more USB device output channels than there are inputs.

Fixes #2087
Improve Data Paths description
Add options to enable ADPF and scrolling graphics

Fixes #2103
…#2107)

We use a BinaryDiscontinuityFinder to do a binary search over the possible buffer sizes.

The output and then the input are scanned.
Input scanning works by changing the InputMargin
Skip scanning if stream is not MMAX EXCLUSIVE.
Give ADPF advance warning when the applicaiton workload changes.
This can reduce glitching when the workload increases suddenly.
It works by estimating what the callback duration will be
and then reporting that to ADPF as if it had already happened.

Add "Wkload" checkbox to CPU Load test

Use a calibration factor that is only updated when the workload is >0.
Improve docs and comments.
@robertwu1 robertwu1 requested a review from philburk December 17, 2024 21:37
@robertwu1 robertwu1 changed the title Merge main with 1.9 stable Merge main into 1.9 stable Dec 17, 2024
@robertwu1 robertwu1 changed the title Merge main into 1.9 stable Merge main (1.9.3) into 1.9 stable Dec 17, 2024
@robertwu1 robertwu1 merged commit 4fe39f4 into 1.9-stable Dec 17, 2024
4 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.

4 participants