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
db1de8e2
Commit
db1de8e2
authored
Nov 17, 2021
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iOS: Don't fail on older versions when a session category is specified.
parent
1964144a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
miniaudio.h
miniaudio.h
+3
-1
No files found.
miniaudio.h
View file @
db1de8e2
...
@@ -31618,7 +31618,8 @@ static ma_result ma_context_init__coreaudio(ma_context* pContext, const ma_conte
...
@@ -31618,7 +31618,8 @@ static ma_result ma_context_init__coreaudio(ma_context* pContext, const ma_conte
return MA_INVALID_OPERATION; /* Failed to set session category. */
return MA_INVALID_OPERATION; /* Failed to set session category. */
}
}
#else
#else
return MA_INVALID_OPERATION; /* AVAudioSession.Category was introduced in iOS 12.0. */
/* Ignore the session category on version 11 and older, but post a warning. */
ma_log_postf(ma_context_get_log(pContext), MA_LOG_LEVEL_WARNING, "Session category only supported in iOS 12 and newer.");
#endif
#endif
}
}
}
}
...
@@ -87998,6 +87999,7 @@ REVISION HISTORY
...
@@ -87998,6 +87999,7 @@ REVISION HISTORY
v0.10.43 - TBD
v0.10.43 - TBD
- ALSA: Fix use of uninitialized variables
- ALSA: Fix use of uninitialized variables
- ALSA: Fix enumeration of devices that support both playback and capture.
- ALSA: Fix enumeration of devices that support both playback and capture.
- Core Audio: Don't fail on older versions of iOS when a session category is specified.
- WebAudio: Fix errors in strict mode.
- WebAudio: Fix errors in strict mode.
v0.10.42 - 2021-08-22
v0.10.42 - 2021-08-22
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