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
17f0adcc
Commit
17f0adcc
authored
Mar 01, 2019
by
Kayabe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vorbis playback
parent
5aa63802
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mini_al.h
mini_al.h
+4
-4
No files found.
mini_al.h
View file @
17f0adcc
...
...
@@ -29714,7 +29714,7 @@ typedef struct
float** ppPacketData;
} mal_vorbis_decoder;
mal_uint32 mal_vorbis_decoder_read_pcm_frames(mal_vorbis_decoder* pVorbis, mal_decoder* pDecoder,
mal_uint32 frameCount, void* pSamplesOu
t)
mal_uint32 mal_vorbis_decoder_read_pcm_frames(mal_vorbis_decoder* pVorbis, mal_decoder* pDecoder,
void* pSamplesOut, mal_uint32 frameCoun
t)
{
mal_assert(pVorbis != NULL);
mal_assert(pDecoder != NULL);
...
...
@@ -29816,7 +29816,7 @@ mal_result mal_vorbis_decoder_seek_to_pcm_frame(mal_vorbis_decoder* pVorbis, mal
framesToRead = (mal_uint32)frameIndex;
}
mal_uint32 framesRead = mal_vorbis_decoder_read_pcm_frames(pVorbis, pDecoder,
framesToRead, buffer
);
mal_uint32 framesRead = mal_vorbis_decoder_read_pcm_frames(pVorbis, pDecoder,
buffer, framesToRead
);
if (framesRead == 0) {
return MAL_ERROR;
}
...
...
@@ -29852,7 +29852,7 @@ mal_result mal_decoder_internal_on_uninit__vorbis(mal_decoder* pDecoder)
return MAL_SUCCESS;
}
mal_uint32 mal_decoder_internal_on_read_pcm_frames__vorbis(mal_pcm_converter* pDSP,
mal_uint32 frameCount, void* pSamplesOu
t, void* pUserData)
mal_uint32 mal_decoder_internal_on_read_pcm_frames__vorbis(mal_pcm_converter* pDSP,
void* pSamplesOut, mal_uint32 frameCoun
t, void* pUserData)
{
(void)pDSP;
...
...
@@ -29865,7 +29865,7 @@ mal_uint32 mal_decoder_internal_on_read_pcm_frames__vorbis(mal_pcm_converter* pD
mal_vorbis_decoder* pVorbis = (mal_vorbis_decoder*)pDecoder->pInternalDecoder;
mal_assert(pVorbis != NULL);
return mal_vorbis_decoder_read_pcm_frames(pVorbis, pDecoder,
frameCount, pSamplesOu
t);
return mal_vorbis_decoder_read_pcm_frames(pVorbis, pDecoder,
pSamplesOut, frameCoun
t);
}
mal_result mal_decoder_init_vorbis__internal(const mal_decoder_config* pConfig, mal_decoder* pDecoder)
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