Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
37cff3f0
Commit
37cff3f0
authored
Dec 15, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force runtime linking on AAudio for the moment.
Change of plans from the previous commit.
parent
4985c2e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
miniaudio.h
miniaudio.h
+9
-8
No files found.
miniaudio.h
View file @
37cff3f0
...
...
@@ -10534,6 +10534,7 @@ certain unused functions and variables can be excluded from the build to avoid w
#endif
#ifdef MA_ENABLE_AAUDIO
#define MA_HAS_AAUDIO
#if 0 /* Forcing runtime linking of AAudio for now. */
#ifdef MA_NO_RUNTIME_LINKING
#ifdef __has_include
#if !__has_include(<AAudio/AAudio.h>)
...
...
@@ -10541,6 +10542,7 @@ certain unused functions and variables can be excluded from the build to avoid w
#endif
#endif
#endif
#endif /* 0 */
#endif
#ifdef MA_ENABLE_OPENSL
#define MA_HAS_OPENSL
...
...
@@ -30194,14 +30196,14 @@ static ma_result ma_context_uninit__aaudio(ma_context* pContext)
static ma_result ma_context_init__aaudio(const ma_context_config* pConfig, ma_context* pContext)
{
#if
!defined(MA_NO_RUNTIME_LINKING)
#if
1 /*!defined(MA_NO_RUNTIME_LINKING)*/
size_t i;
const char* libNames[] = {
"libaaudio.so"
};
#endif
#if
!defined(MA_NO_RUNTIME_LINKING)
#if
1 /*!defined(MA_NO_RUNTIME_LINKING)*/
for (i = 0; i < ma_countof(libNames); ++i) {
pContext->aaudio.hAAudio = ma_dlopen(pContext, libNames[i]);
if (pContext->aaudio.hAAudio != NULL) {
...
...
@@ -64717,7 +64719,6 @@ REVISION HISTORY
v0.10.28 - TBD
- Fix a crash when initializing a POSIX thread.
- OpenSL|ES: Respect the MA_NO_RUNTIME_LINKING option.
- AAudio: Respect the MA_NO_RUNTIME_LINKING option.
v0.10.27 - 2020-12-04
- Add support for dynamically configuring some properties of `ma_noise` objects post-initialization.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment