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
0f9355cf
Commit
0f9355cf
authored
Dec 03, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug when an async data buffer fails to load.
parent
ae9449cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
research/miniaudio_engine.h
research/miniaudio_engine.h
+7
-5
No files found.
research/miniaudio_engine.h
View file @
0f9355cf
...
...
@@ -6714,12 +6714,14 @@ done:
pDataBuffer
->
pNode
->
data
.
decoded
.
decodedFrameCount
=
0
;
}
/* The job has been set up so it can now be posted. */
result
=
ma_resource_manager_post_job
(
pResourceManager
,
&
pageDataBufferJob
);
/* The result needs to be set to MA_BUSY to ensure the status of the data buffer is set properly in the next section. */
if
(
result
==
MA_SUCCESS
)
{
result
=
MA_BUSY
;
/* The job has been set up so it can now be posted. */
result
=
ma_resource_manager_post_job
(
pResourceManager
,
&
pageDataBufferJob
);
/* The result needs to be set to MA_BUSY to ensure the status of the data buffer is set properly in the next section. */
if
(
result
==
MA_SUCCESS
)
{
result
=
MA_BUSY
;
}
}
/* We want to make sure we don't signal the event here. It needs to be delayed until the last page. */
...
...
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