FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

oboe: remove OpenSL ES direct links by philburk · Pull Request #2014 · google/oboe · GitHub

/ oboe Public

oboe: remove OpenSL ES direct links - #2014

Merged
philburk merged 2 commits into
mainfrom
opensl_nolink
May 6, 2024
Merged

philburk merged 2 commits into
mainfrom
opensl_nolink

Conversation

philburk commented May 2, 2024

Copy link
Copy Markdown
Contributor

Use dlsym() to find the address of symbols like SL_IID_PLAY. This allows Oboe to be run on a device that does not have "libOpenSLES.so".

This fixes b/337360630

Use dlsym() to find the address of symbols like SL_IID_PLAY.
This allows Oboe to be run on a device that does not
have "libOpenSLES.so".

This fixes b/337360630
philburk requested a review from robertwu1 May 2, 2024 23:33
A failure in initializing the OpenSL ES engine
would call close(), which tried to lock mLock again.

Use dlerror() to print info about link problems.

Add a state variable for better management of the dynamic linking.
philburk merged commit b302400 into main May 6, 2024
philburk deleted the opensl_nolink branch June 12, 2024 23:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL