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
fc3a2fca
Commit
fc3a2fca
authored
May 12, 2019
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explicit mention to not call some APIs in callbacks.
parent
d289e5cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
miniaudio.h
miniaudio.h
+6
-0
No files found.
miniaudio.h
View file @
fc3a2fca
...
...
@@ -2788,6 +2788,8 @@ Uninitializes a device.
This will explicitly stop the device. You do not need to call ma_device_stop() beforehand, but it's
harmless if you do.
Do not call this in any callback.
Return Value:
MA_SUCCESS if successful; any other error code otherwise.
...
...
@@ -2816,6 +2818,8 @@ to be done _before_ the device begins playback.
This API waits until the backend device has been started for real by the worker thread. It also
waits on a mutex for thread-safety.
Do not call this in any callback.
Return Value:
MA_SUCCESS if successful; any other error code otherwise.
...
...
@@ -2837,6 +2841,8 @@ the resuming it with ma_device_start() (which you might do when your program los
in a situation where those samples are never output to the speakers or received from the microphone
which can in turn result in de-syncs.
Do not call this in any callback.
Return Value:
MA_SUCCESS if successful; any other error code otherwise.
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