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
e34171fa
Commit
e34171fa
authored
Aug 19, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error on Android.
parent
5310bdb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
miniaudio.h
miniaudio.h
+10
-2
No files found.
miniaudio.h
View file @
e34171fa
...
@@ -44504,6 +44504,13 @@ static ma_result ma_decoder__data_source_on_get_data_format(ma_data_source* pDat
...
@@ -44504,6 +44504,13 @@ static ma_result ma_decoder__data_source_on_get_data_format(ma_data_source* pDat
return MA_SUCCESS;
return MA_SUCCESS;
}
}
static ma_result ma_decoder__data_source_on_get_cursor(ma_data_source* pDataSource, ma_uint64* pLength)
{
ma_decoder* pDecoder = (ma_decoder*)pDataSource;
return ma_decoder_get_cursor_in_pcm_frames(pDecoder, pLength);
}
static ma_result ma_decoder__data_source_on_get_length(ma_data_source* pDataSource, ma_uint64* pLength)
static ma_result ma_decoder__data_source_on_get_length(ma_data_source* pDataSource, ma_uint64* pLength)
{
{
ma_decoder* pDecoder = (ma_decoder*)pDataSource;
ma_decoder* pDecoder = (ma_decoder*)pDataSource;
...
@@ -44535,7 +44542,7 @@ static ma_result ma_decoder__preinit(ma_decoder_read_proc onRead, ma_decoder_see
...
@@ -44535,7 +44542,7 @@ static ma_result ma_decoder__preinit(ma_decoder_read_proc onRead, ma_decoder_see
pDecoder->ds.onRead = ma_decoder__data_source_on_read;
pDecoder->ds.onRead = ma_decoder__data_source_on_read;
pDecoder->ds.onSeek = ma_decoder__data_source_on_seek;
pDecoder->ds.onSeek = ma_decoder__data_source_on_seek;
pDecoder->ds.onGetDataFormat = ma_decoder__data_source_on_get_data_format;
pDecoder->ds.onGetDataFormat = ma_decoder__data_source_on_get_data_format;
pDecoder->ds.onGetCursor = ma_decoder_
get_cursor_in_pcm_frames
;
pDecoder->ds.onGetCursor = ma_decoder_
_data_source_on_get_cursor
;
pDecoder->ds.onGetLength = ma_decoder__data_source_on_get_length;
pDecoder->ds.onGetLength = ma_decoder__data_source_on_get_length;
pDecoder->onRead = onRead;
pDecoder->onRead = onRead;
...
@@ -62476,7 +62483,8 @@ REVISION HISTORY
...
@@ -62476,7 +62483,8 @@ REVISION HISTORY
================
================
v0.10.17 - TBD
v0.10.17 - TBD
- Fix an error where the WAV codec is incorrectly excluded from the build depending on which compile time options are set.
- Fix an error where the WAV codec is incorrectly excluded from the build depending on which compile time options are set.
- Add ma_decoder_get_cursor_in_pcm_frames()
- Fix compilation error on Android.
- Add ma_decoder_get_cursor_in_pcm_frames().
v0.10.16 - 2020-08-14
v0.10.16 - 2020-08-14
- WASAPI: Fix a potential crash due to using an uninitialized variable.
- WASAPI: Fix a potential crash due to using an uninitialized variable.
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