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
f1625a02
Commit
f1625a02
authored
Oct 22, 2019
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return a more accurate error code from ma_device_init().
parent
d7cefd29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
miniaudio.h
miniaudio.h
+1
-1
No files found.
miniaudio.h
View file @
f1625a02
...
@@ -26277,7 +26277,7 @@ ma_result ma_device_init(ma_context* pContext, const ma_device_config* pConfig,
...
@@ -26277,7 +26277,7 @@ ma_result ma_device_init(ma_context* pContext, const ma_device_config* pConfig,
result = pContext->onDeviceInit(pContext, &config, pDevice);
result = pContext->onDeviceInit(pContext, &config, pDevice);
if (result != MA_SUCCESS) {
if (result != MA_SUCCESS) {
return
MA_NO_BACKEND; /* The error message will have been posted with ma_post_error() by the source of the error so don't bother calling it here. */
return
result;
}
}
ma_device__post_init_setup(pDevice, pConfig->deviceType);
ma_device__post_init_setup(pDevice, pConfig->deviceType);
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