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

OpenSL ES: Return ErrorInvalidFormat instead of ErrorInternal for invalid format #1634

Merged
merged 4 commits into from
Oct 19, 2022

Conversation

robertwu1
Copy link
Collaborator

OpenSL ES only supports float and I16. We should return that other formats are invalid if OpenSL ES is used. Otherwise, it may be hard for developers to debug.

@robertwu1 robertwu1 requested a review from philburk September 27, 2022 00:00
Copy link
Collaborator

@philburk philburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look for other format check in Oboe.

@robertwu1 robertwu1 changed the title OpenSL ES: Return ErrorInvalidFormat instead of ErrorInternal for invalid sample rates OpenSL ES: Return ErrorInvalidFormat instead of ErrorInternal for invalid format Sep 28, 2022
@robertwu1
Copy link
Collaborator Author

Look for other format check in Oboe.

Done. Thanks for the suggestion!

@robertwu1 robertwu1 merged commit 9724ec6 into main Oct 19, 2022
@robertwu1 robertwu1 deleted the robertwu1/openslesformats branch November 24, 2022 00:39
@robertwu1 robertwu1 restored the robertwu1/openslesformats branch February 24, 2023 00:55
@robertwu1 robertwu1 deleted the robertwu1/openslesformats branch February 24, 2023 00:56
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.

3 participants