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

Coerce positive error from open() to negative code #1711

Merged
merged 2 commits into from
Feb 21, 2023
Merged

Conversation

philburk
Copy link
Collaborator

AAudio could sometimes return a positive number (1) as an error code. That was confusing to apps like OboeTester, which often look for (result < 0).

The fix is to coerce these bogus error codes to ErrorInternal.

Bump Oboe to 1.7.2 and OboeTester to 2.3.7.

AAudio could sometimes return a positive number (1) as an error code.
That was confusing to apps like OboeTester, which often for (result < 0).

The fix is to coerce these bogus error codes to ErrorInternal.

Bump Oboe to 1.7.2 and OboeTester to 2.3.7.
@philburk philburk merged commit 6f8f189 into main Feb 21, 2023
@philburk philburk deleted the result_ne_ok branch February 21, 2023 18:30
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