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
24974c89
Commit
24974c89
authored
Jan 08, 2022
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor documentation fix.
parent
c159a9b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
miniaudio.h
miniaudio.h
+4
-4
No files found.
miniaudio.h
View file @
24974c89
...
@@ -1618,10 +1618,10 @@ decoded, meaning the raw file data will be stored in memory, and then dynamicall
...
@@ -1618,10 +1618,10 @@ decoded, meaning the raw file data will be stored in memory, and then dynamicall
memory, use the `MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_DECODE` flag. By default, the sound file will
memory, use the `MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_DECODE` flag. By default, the sound file will
be loaded synchronously, meaning `ma_resource_manager_data_source_init()` will only return after
be loaded synchronously, meaning `ma_resource_manager_data_source_init()` will only return after
the entire file has been loaded. This is good for simplicity, but can be prohibitively slow. You
the entire file has been loaded. This is good for simplicity, but can be prohibitively slow. You
can instead load the sound asynchronously using the `MA_
DATA_SOURCE_ASYNC` flag. This will result
can instead load the sound asynchronously using the `MA_
RESOURCE_MANAGER_DATA_SOURCE_ASYNC` flag.
in `ma_resource_manager_data_source_init()` returning quickly, but no data will be returned by
This will result in `ma_resource_manager_data_source_init()` returning quickly, but no data will be
`ma_data_source_read_pcm_frames()` until some data is available. When no data is available because
returned by `ma_data_source_read_pcm_frames()` until some data is available. When no data is
the asynchronous decoding hasn't caught up, `MA_BUSY` will be returned by
available because
the asynchronous decoding hasn't caught up, `MA_BUSY` will be returned by
`ma_data_source_read_pcm_frames()`.
`ma_data_source_read_pcm_frames()`.
For large sounds, it's often prohibitive to store the entire file in memory. To mitigate this, you
For large sounds, it's often prohibitive to store the entire file in memory. To mitigate this, you
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